Gert,
Based on your reply I did some more investigative testing and it turns
out this is a language-specific issue related to buffering output.
We have several internal test tools that I am trying to wrap with NAnt
and I was seeing this buffering with tools written in both Perl and C++.
For the Perl side I forced flushing of output in a test script and it
solved the problem. I will look into the C++ side as well.
Thanks for your reply Gert!
Jeff
________________________________
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 18, 2008 12:09 PM
To: Jeff Richter; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Exec task streaming standard out
Hey Jeff,
We're actually not using log4net for our regular build output.
Also, we do not treat stderr any different from stdout (except for the
logging level).
Do you have a small repro that shows the behavior you're seeing?
Gert
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Richter
Sent: maandag 18 februari 2008 19:59
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Exec task streaming standard out
Hi All,
The default behavior of the Exec task seems to be to stream standard
error to the console, but to butter standard out and only dump the
buffer to the console (or log file for that matter) when the exec'd task
completes.
Can anyone tell me if there is also a way to also stream the standard
out to the console?
I've attempted setting the log4net threshold to ALL and changing the
ConsoleLogger levels to INFO, but this only increases the verbosity of
the NAnt output itself, but does not include standard error.
Thanks!
-Jeff
-------------------------------------------------------------------------
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