Writing the Ant script output into a seprate log file

Hi

It is very easy to redirect the output of the Ant script into a separate a file using DOS command utility.

Just follow the basic simple steps.

Step 1: Goto Command Prompt

Step2: Run the Ant script(build.xml) e.g.
c:\myProject\build>ant < buildLog.log

Thanks
R Vashi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s