On 7/19/05, Kevin <[EMAIL PROTECTED]> wrote: > Now, I'm not sure if NAnt can do that. Haven't played with it enough. If I > turn on the XML logger, does that mean it won't pass through the output to > stdout? Is it either/or, or can NAnt do both at the same time?
Happily, it can! You can use XmlLogger as a listener in addition to using the normal logger... See http://nant.sourceforge.net/release/latest/help/fundamentals/listeners.html > Also, read my past follow-up posting on using the /out parameter with > devenv.com and sending it to a named pipe, which allows devenv output to be > captured before the task is completed. I think NAnt would need specialized > support for this. Still thinking about that one. > > - Kevin Currently no support for named pipes... it would first require an asynchronous exec of the process, then a task to provide a pipe sink... that task would also have the responsibility for handling the text and sending it where it needs to go... then join back to the executed process. Having said that aloud, given you would (likely) need a custom task in the middle to deal with the output, it would be just as simple (simpler?) to fork the exec, handle the pipe and its contents, then join to the process in a single custom task. Comments? -- Troy ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ nant-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-developers
