ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Using <ant> target with logfile option results in duplicate output
Date Wed, 08 Nov 2000 11:09:23 GMT
Kevin Toomey <> wrote:

> I have a buildfile, called build.xml. I execute it from a script
> file like so: ant -logfile a_log.txt

>    <ant target="server_start" output=b_log.txt />

> Instead, all the build info, as well as server output, is written to
> a_log.txt. Server output alone, is also written to b_log.txt.

Yes, the messages of <ant> are considered part of the parent build as
well, therefore they end up in the same logfile as all the other
messages. Obviously this is not what everybody would expect.

Should we clarify the docs, modify the behavior or what would be the
right thing to do?


View raw message