Another thing you could do is take a look at the <record> task in NAntContrib whuch allow you to log the build output in a file, and start/stop/close it at anytime in your build processs. After that you could zip the log files using the zip task and email them with the mail task.
Nick
From: Nicklas Norling <[EMAIL PROTECTED]>
To: 'Scott Ford' <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: [Nant-users] Logging failures or successes
Date: Thu, 16 Oct 2003 10:18:49 +0200
Hi Scott.
I think it would be great if this kind of problems could work "out of the box". And maybe Ben's suggestion is the way to go if a dependency towards #ziplib is not wanted. But to me, being a builder, it seems an awful lot of work. The semaphore methods with empty files and such where what I was thinking of first, but I was aiming a bit higher.
I'll probably end up using some semaphore type as a dirty solution as it is something I can do and that is not too time consuming.
I feel my level of programming knowledge would allow me to implement Gert's solution with zip taggs for the MailLogger, however, creating a custom logger appears a bit greek to me.
Please let me know what you decide would be appropriate for the future and also if I can help out with the implementation.
Thanks! /Nicke
-----Original Message----- From: Scott Ford [mailto:[EMAIL PROTECTED] Sent: den 15 oktober 2003 19:31 To: [EMAIL PROTECTED] Subject: RE: [Nant-users] Logging failures or successes
Nicklas,
A quick and dirty work around for your problem would be set an environment variable or create and empty file that represents success or failure. The second nant process could then use that variable/file to determine whether or not to mail the log.
-Scott
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
