ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Target "Failed"
Date Thu, 02 Nov 2000 20:28:58 GMT
--- Jan Castermans <> wrote:
> On Thursday 02 November 2000 19:58, you wrote:
> > Is there a Target "Failed" ? I'd like to do some cleaning up in case
> of a failed build.
> I'm not aware of any task like that. 
> It would be nice to have it, because it could be used to mail me in case
> my nightly build fails...

There is a <fail> task, but it can't be used for sending mail on failure
-- that (currently) requires the BuildListener stuff that's been mentioned
by Stefan several times (check the archive). For the <fail> task, see:

You could probably modify the <fail> task to do more than it does now,



Do You Yahoo!?
View raw message