Hi Patrice  
 You can do it with the following set of properties name;
 
  <property name='nant.onsuccess' value='onsuccess'/>
   <property name='nant.failure'  value='onfailure'/>
 
 the value is the name of the target element being executed.
 
 
 You can also alternatively  use DracoNEt 
 (http://draconet.sourceforge.net) to have an continous 
 integration process. (It looks for changes in your repository 
 every XXXXX mn, execute your nant scripts and sends mail 
 results (changes+output of nant). And soon there will be also 
 a website (DracoNetWeb) ( as soon as I activate the project 
 on sourceforge and import the code ...) 
 
 Hope this helps
 
 Yves
 
 
> 
> -----Original Message-----
> From: Patrice Calvé [mailto:[EMAIL PROTECTED]] 
> Sent: 06 February 2003 18:17
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] Send an email based on the Build Status
> 
> 
> Hi, 
> Is it possible to send an email based on the result 
> (succesfull or failed) of a build? 
> I understand that there's a <mail/> task, but if there's a 
> build failed, the task would'nt be executed. 
> It would be nice to have a:
> <project name="a" onSuccess="TargetOK" onFail="TargetFail"> 
> kind of "syntax". 
> Pat 
> Patrice Calvé 
> Développeur Sénior - Senior Software Developer 
> Cactus Communications Internet 
> 376 boul. St. Joseph 
> Hull, QC 
> J8Y3Y7 
> ( Phone: 819.778.0313                   1 Fax: 819.420.0121
> + E-mail:[EMAIL PROTECTED] & Web:www.cactus.ca
> "3 kinds of people: those who can count & those who can't" 
> 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to