ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From schmitt <redknig...@gmx.net>
Subject Re: Question about <mail>
Date Thu, 02 Nov 2000 12:00:00 GMT
Thanks again

The FAQ helped me.

Stefan Bodewig wrote:

> >>>>> "s" == schmitt  <redknights@gmx.net> writes:
>
>  s> Is it possible to check inside the xml file if the build was
>  s> successful?
>
> I'm not sure I understand your question. Currently, if a build was not
> successful, Ant would throw a BuildException and stop the whole
> process. This means, if your mail task is executed, you can be sure
> the build has been successful up to here - otherwise you wouldn't get
> a chance to send the mail.
>
> If you want to send a mail containing information about the outcome of
> the build, <mail> is not the way to go. Use a BuildListener instead,
> there's an example in the FAQ that does exactly this.
>
> Stefan


Mime
View raw message