ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Andrew.Beac...@nokia.com>
Subject RE: packages compiled in order?
Date Mon, 18 Feb 2002 14:17:51 GMT
Justin,

> also i would like to add ant command line options, such as logging and 
> debug options to the build file rather than have to type them all in 
> each time im executing ant. i couldnt find anything in the manual.

If what you want is the build output saved to a text file, and maybe 
you also want a more verbose build log as well, then you can use this:

        <!-- set up the output logs -->
        <record name="build.log" append="no"/>
        <record name="buildVerbose.log" append="no" loglevel="verbose"/>

Just put it in an init target or something similar that is used for 
every build and you should find two log files in the same directory as 
the build.xml.

More details can be found in the Ant manuals at:
http://jakarta.apache.org/ant/manual/CoreTasks/recorder.html

Hope this is what you are looking for...

Andy.

--
Andrew Beacock
Senior Software Engineer/Project Lead
Nokia Mobile Phones
NMP/MSW/SSP/AG

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message