ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Save ant build output to file(s)
Date Wed, 12 Sep 2001 14:50:06 GMT
if you have cygwin then you also have tee, which prints to stdout and 
to a file, eg:

ant ... | tee logfile


> -----Original Message-----
> From: Matthew.Helliwell []
> Sent: 12 September 2001 13:21
> To: ant-user
> Cc: Matthew.Helliwell
> Subject: RE: Save ant build output to file(s)
> Can you run ant in the background and then do a tail -f on 
> the log file?
> You'll need cygwin if you're running on NT.
> Matt
> -----Original Message-----
> From: Daniel Xia []
> Sent: 12 September 2001 12:47
> To:
> Subject: Save ant build output to file(s)
> I want to save the ant output to a file after running the 
> ant.  I know I can
> use "-logfile logfilename", but there will be no output to the screen
> anymore.  Can I do both at the same time?  Thanks in advance.
> -- Daniel
> ----------------------------------------------------------------------
> If you have received this e-mail in error or wish to read our e-mail 
> disclaimer statement and monitoring policy, please refer to 
> or contact the sender.
> ----------------------------------------------------------------------

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

View raw message