Re: Output console to text file

Bob Archer <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
You can use the XmlLogger. Check out the doc on Loggers and Listeners.

BOb


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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.