I added this to the top of my Nant.build file. But I'm not getting the email at the
end of the build. Does anyone know y????
-logger:NAnt.Core.MailLogger
<property name="MailLogger.mailhost" value="exchange0.someone.ca" />
<property name="MailLogger.from" value="[EMAIL PROTECTED]" />
<property name="MailLogger.failure.notify" value="true" />
<property name="MailLogger.success.notify" value="true" />
<property name="MailLogger.failure.to" value="[EMAIL PROTECTED]" />
<property name="MailLogger.success.to" value="[EMAIL PROTECTED]" />
<property name="MailLogger.failure.subject" value="allola" />
<property name="MailLogger.success.subject" value="yo yo" />
Jean Michel Th�riault
Configuration and Installation Application Developer (COOP)
Cactus Commerce
http://www.cactuscommerce.com
[EMAIL PROTECTED]
-----Original Message-----
From: Merrill Cornish [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 10:50 AM
To: Jean-Michel Theriault; [EMAIL PROTECTED]
Subject: Re: [Nant-users] mailLogger simple question
Jean-Michel,
You don't CALL MailLogger so much as you ARM it.
You have to add -logger:NAnt.Core.MailLogger to your NAnt command line. That command
line argument tells MailLogger to do its thing, and collect output as it is created.
At the end of the script, pass or fail, the MailLogger is automatically called even
though there is no specific <call> in the script itself. What the MailLogger then
does depends upon what you have set the properties to.
Merrill
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users