Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Difference in Ant task output and -log

Difference in Ant task output and -log

2005-06-15       - By al.sutton@(protected)


Does anyone know the reason why the behaviour of running

<exec executable="ant" ....>
<arg line="-log filename"/>
</exec>

is different to sepecifying

<ant output="filename" ..../>

in a build file?

The difference I see is that when using the ant task the output of the
sub-build is displayed on the output stream for the main build as well
as being put into the log file, whereas when using the exec I only get
the output sent to the log file.


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.