Alex,
The <exec> task will write both stdout and stderr to the specified output
file; however, the current behavior is that both stdout and stderr will
still be written to the build log as well.
Gert
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roebuck, Alex
Sent: woensdag 30 januari 2008 16:35
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] <exec> redirecting stderr
The <exec> task supports redirection of stdout, but not stderr.
I have an executable which sends a lot of output to stderr. NAnt logs all
output to stderr as warnings. These show up in my CCNet Build Summary. I'd
like to redirect these, or prevent NAnt logging them as warnings.
What's the best way to do this?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users