Hi all,
 
I run external command with <exec> task and with output attribute redirects
its output to file for further processing. Lets say this command as example:
 
  <exec program="c:\program files\subversion\bin\svn.exe"
   commandline="log --non-interactive -v --xml -r
${int::parse(lastrev)+1}:${currentrev} ${build.dir}" 
   output="${state.dir}\log.xml"
   />

Currently all output is processed in StreamReaderThread_Output which writes
all messages to console with Info level _and_ to file specified. I think it
will be better to silence logger when output attribute is present since this
output could be very large (2MB in this case) and noone want to read it
anyway (or someone wants?)
 
Of couse, good implementation of task threshold message level could help
here as well.
 
Martin



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to