Bug 23132 - -logfile option for ant doesnt seem to work
Summary: -logfile option for ant doesnt seem to work
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords: core, ui
Depends on:
Blocks:
 
Reported: 2002-09-03 17:46 EDT by Rajesh Honnawarkar CLA
Modified: 2002-10-04 10:59 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).