Bug 23132

Summary: -logfile option for ant doesnt seem to work
Product: [Eclipse Project] Platform Reporter: Rajesh Honnawarkar <rajeshh_98>
Component: AntAssignee: Jared Burns <jared_burns>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: eclipse
Version: 2.0Keywords: core, ui
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Rajesh Honnawarkar CLA 2002-09-03 17:46:13 EDT
If I want to submit the ant -logfile <filename> option to Ant within Eclipse, I 
cant seem to figure out a way to do it.

Running ant just from the commandline, I can do the following if I want 
messages to be written to a file instead of to the command prompt:

ant -logfile build.log

and it works. I need to do the same within the IDE.
Comment 1 Simon Arsenault CLA 2002-09-06 15:38:22 EDT
Have you tried adding "-logfile build.log" to the argument field?
Comment 2 Darin Swanson CLA 2002-09-18 15:36:50 EDT
Adding "-logfile build.log" to the argument field creates the build.log file 
but nothing is logged to this file.
Comment 3 Darin Swanson CLA 2002-09-19 11:59:51 EDT
Fixed in InternalAntRunner (core) and AntBuildLogger (ui).
Comment 4 Darin Swanson CLA 2002-09-19 12:00:12 EDT
Please verify (Jared)
Comment 5 Darin Swanson CLA 2002-09-19 15:38:23 EDT
Fixed so that -logfile works when "Show execution log in console" is turned off 
(changes to NullBuildLogger).
Comment 6 Darin Swanson CLA 2002-09-27 11:32:09 EDT
Please verify (Luc)
Comment 7 Luc Bourlier CLA 2002-10-03 18:00:31 EDT
Verified.
Please update the build notes (jared).