Re: Output console to text file
"Justin Daubenmire" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <[email protected]> |
gotcha. Once the contrib assemblies are in the bin folder of my nant installation, do I have to do anything special as an import or anything to get my build scripts to recognize the contrib tasks? /Justin ________________________________ From: Chris Lambrou [mailto:[email protected]] Sent: Thursday, October 22, 2009 8:59 AM To: Justin Daubenmire Subject: RE: [NAnt-users] Output console to text file You need to take the NAntContrib files and copy them into your NAnt installation, at which point you can then use both NAnt and NAntContrib tasks in your build scripts. From: Justin Daubenmire [mailto:[email protected]] Sent: 22 October 2009 13:51 To: [email protected]; [email protected] Subject: Re: [NAnt-users] Output console to text file Thanks guys! What is the syntax to pull in the nant-contrib assembly into my nant build file? /Justin ________________________________ From: Michael Pento [mailto:[email protected]] Sent: Thursday, October 22, 2009 8:43 AM To: Justin Daubenmire; [email protected]; [email protected] Subject: RE: [NAnt-users] Output console to text file Hi Justin, If your using the nant-contrib library you can use the record task (http://nantcontrib.sourceforge.net/release/latest/help/tasks/record.htm l) to save your output to a log file. It supports various output logging levels and you will still get your output on the console. <target name="build"> <record name="build.log" level="Debug" action="Start" /> (do a bunch of things ...) <record name="build.log" level="Debug" action="Stop" /> </build> Hope this helps. Thanks, Mike ________________________________ From: Justin Daubenmire [mailto:[email protected]] Sent: Thursday, October 22, 2009 8:22 AM To: [email protected]; [email protected] Subject: [NAnt-users] Output console to text file Hey all, In my .build file, how or what do I do to get all console messages redirected to a text file? I have this in place throughout my targets: <echo file ="deploy_results.txt" append="true" message="starting to copy files..." /> which works, but the information displayed on the console, such as 28 files copied, is never wrote to the text file. How can I get verbose console output to the text file in addition to my custom messages? Thanks for any feedback! /Justin ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users