Writing the Ant script output into a seprate log file


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

R Vashi