ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <>
Subject Re: redirecting build output to a log file
Date Mon, 27 Sep 2004 14:18:52 GMT
It depends what you actually want to do with the
output. Usually I do it in one of these way
1) ant -f mybuild.xml mytarget > mylog
Here actually your OS redirects the output, not Ant
2) ant -l mylog mybuild.xml mytarget
Here -l (or -logfile) option has been given to ant and
it logs the build process in mylog file.
3) Ant comes with a bunch of predifined loggers which
log the build process in various ways. You van see
them at

--- Ashutosh Kumar <> wrote:

> How can we redirect build output to a log file?
> Regds
> Ashutosh

Do you Yahoo!?
Declare Yourself - Register online to vote today!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message