ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Rodriguez <>
Subject RE: Mail notification on error status for a batch job
Date Wed, 10 Oct 2001 16:58:13 GMT
I don't think that just having a build listener and mail task will do what
you want it to do.  If the build fails before the mail task is called, then
the build log will never get mailed.  

Search this list for It is not part of ant 1.4 but
it could be part of ant2 whenever that is released.  AntCallAfterError
executes if the build process fails at any point.  It is an invaluable task
that really should get bundled with the next release of ant. 


> -----Original Message-----
> From: Paul Jackson []
> Sent: Tuesday, October 09, 2001 3:44 PM
> To:
> Subject: Mail notification on error status for a batch job
> Hi all,
> I was wondering if it is possible (and how) to send a email (using the
> mail tag) to somebody when a build fails during an overnight 
> batch job.
> I'm not sure how to get the status of a build after it's completed. I
> couldn't see it in the doco anywhere.
> thanks for any help,
> Paul Jackson
> Meridian Informatics
> Phone: (02) 8233 7564
> Mobile: 0418 855 496

View raw message