You may be able to use the NAntContrib <record/> task. Please take a look at the help (http://nantcontrib.sourceforge.net/help/tasks/record.html) and the mail archives* if you have further questions.
*Mail Archives: http://www.mail-archive.com/index.php?hunt=nant If this doesn't work we would probably need to add a feature to the <nant/> task to pass logging info. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 06, 2004 7:10 AM Subject: [Nant-users] How to redirect the output of a nant task ? > Hi everybody, > > in my build file, I use the "nant" task like this. > <nant buildfile="${nightly.root}/${buildfile.name}" target="all.daily"> > </nant> > I would like to redirect the build log messages of this task in a file and > not in the standard output. > > I have tried this : > <nant buildfile="${nightly.root}/${buildfile.name}" target="all.daily"> > <property name="logfile" value="c:\xxxx.log"/> > </nant> > > buf it doesn't work. > > > Any idea ? > > Thanks, ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users