ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: send email about status of the build
Date Tue, 07 Feb 2006 17:26:13 GMT
Indeed MailLogger is probably your best option. Combine that with <fail if="foundErrors"/>
and you can have the subject of the email reflect the status of the build.

-Rob Anderson 

> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
> Sent: Monday, February 06, 2006 10:12 PM
> To: user@ant.apache.org; dgiscool@gmail.com
> Subject: AW: send email about status of the build
> 
> Would that
> http://ant.apache.org/manual/listeners.html#MailLogger
> help?
> 
> 
> Jan 
> 
> >-----Urspr√ľngliche Nachricht-----
> >Von: Deep Chand [mailto:dgiscool@gmail.com]
> >Gesendet: Dienstag, 7. Februar 2006 06:53
> >An: user@ant.apache.org
> >Betreff: send email about status of the build
> >
> >Hello community,
> >
> >I'm a newbie to Ant. I tried to search for this solution but 
> couldn't 
> >find.
> >
> >I want to send emails with the status of the build and with logs if 
> >there are errors. I'm able to send email and also the build process 
> >works but I'm not able to figure out how to write the error 
> logs in a 
> >file from the ant script. Is there any task that can 
> interpret the log 
> >file or do I have to define a custom task?  I guess this should be a 
> >very common problem ...so what's the recommended practice. Thanks in 
> >advance.
> >
> >I know I can use some thing like below to figure out if 
> certain file is 
> >present or not:
> >
> ><condition property="foundErrors">
> >		<available file="errorFile">
> >	</condition>
> >
> >Please help.
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional 
> >commands, e-mail: user-help@ant.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message