Juan,

This is provided by the -logfile option.

F:\work\projects\commerce_framework\ant>ant -help
ant [options] [target]
Options:
  -help                  print this message
  -quiet                 be extra quiet
  -verbose               be extra verbose
  -logfile <file>        use given file for log
  -buildfile <file>      use given buildfile
  -D<property>=<value>   use value for given property

--
Conor MacNeill
[EMAIL PROTECTED]
Cortex eBusiness 
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Juan Jose Pablos [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 15 June 2000 10:38
> To: [EMAIL PROTECTED]
> Subject: proposal:redirect the output to a file?
> 
> 
> Hi there,
> I am using Ant inside windows, and one thing I thought that could 
> be nice is
> that you could specify the output of what happened into a file.
> 
> something like:
> 
> FileOutputStream file;
> 
>     try {
> 
>       file = new FileOutputStream("projectOutput.dat");
>     }
>     catch (IOException e) {
>      blablabla
>     }
> 
>     System.setOut(new PrintStream(file,true));
> 
> 
> It it Just a Thought not very dificult to implement.( I think)
> 
> 
> Juan
> 
> 
> 

Reply via email to