You should probaly use DracoNet

(http://draconet.sourceforge.net)

It automates your build process (cvs, vss, pvcs support + nant) and sends mail 
containing the change log in your repository & the nant output

Yves

> -----Original Message-----
> From: Thomas Bang Biilmann [mailto:[EMAIL PROTECTED]] 
> Sent: 07 February 2003 09:22
> To: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Send an email based on the Build Status
> 
> 
> Hi,
> 
> Excellent stuff, these "success/failure" events... I'm just wondering:
> 
> Is there any way to direct the nAnt build output to a text 
> file that can be included as the body with the 
> "files="<build.log>"" mail task attribute? A simple redirect 
> won't do, since the log file will be open (and hence not 
> readable) when the mail task executes... If there no way to 
> do this, I'll just use the simple redirect to a log file, and 
> then check that log file when I receive a "Build failed" mail.
> 
> Cheers
> Thomas
> 
> 
> 
> > -----Original Message-----
> > From: Patrice Calvé [mailto:[EMAIL PROTECTED]]
> > Sent: 6. februar 2003 18:30
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Nant-users] Send an email based on the Build Status
> > 
> > 
> > WOW !  Super,
> > 
> > Thanks...  Based on your reply, I found these two constants
> > in the Nant Code:
> > - nant.onsuccess
> > - nant.failure
> > 
> > Thank you very much, !
> > 
> > Pat
> > 
> > 
> > -----Original Message-----
> > From: Simon Steele [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 06, 2003 12:26
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Nant-users] Send an email based on the Build Status
> > 
> > 
> > Hi,
> > 
> > You can set the nant.failure property to a task that you
> > would like to execute if the build fails:
> > 
> > <property name="nant.failure" value="onfail" />
> > 
> > <target name="onfail">
> >     <mail subject="Build Failure" ... />
> > </target>
> > 
> > I think there's also nant.success.
> > 
> > Hope this helps,
> > --
> > Simon Steele
> > Programmers Notepad - http://www.pnotepad.org/
> > 
> > -----Original Message-----
> > From: Patrice Calvé [mailto:[EMAIL PROTECTED]]
> > Sent: 06 February 2003 17: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
> > 
> > __________________________________________________________________
> > This message has been checked for all known viruses by Star
> > Internet delivered through the MessageLabs Virus Scanning Service.
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2
> > See! http://www.vasoftware.com 
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sourceforge.net/lists/listinfo/n> ant-users
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2
> > See! http://www.vasoftware.com 
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sourceforge.net/lists/listinfo/n> ant-users
> > 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 


-------------------------------------------------------
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