Is it possible to get an example of what a build-success/bild-fail target should look 
like? 

The reason why I ask is because I use the NAnt.Core.MailLogger to notify me when a 
build passed/failed.  My command line looks like this:

nant /f:test.build -l:test.log -logger:NAnt.Core.MailLogger

I have the properties mentioned in 
http://nant.sourceforge.net/nightly/help/fundamentals/listeners.html set.   

When I see my email, the logfile is truncated.   I do not get the complete logfile in 
the body of the email.  

Felice



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill
Cornish
Sent: Friday, October 08, 2004 8:35 AM
To: Ernst Kuschke; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Mailinging the build log


You need to use the logger functionality.  You can start and stop the logger from 
inside the NAnt script.  So, you start the logger at the start of the script.  You 
then use a build-success and build-fail target to stop the logger and mail its result. 
 Check out NAnt/doc/help/fundamentals/listeners.html

Merrill


-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to