ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <>
Subject Re: Ant2 Feature Suggestion
Date Tue, 13 Mar 2001 04:32:24 GMT
> At 08:26  12/3/01 -0800, Scott Sanders wrote:
> >How about some sort of onfail functionality, such that if a task
> >fails, a backup task can run no matter what.  Sort of try/finally
> >stuff.
> >
> >Or is it already there?
> only partially through listeners.
> We should generalize it to generic "handlers" that determine
> based on build events etc.

So, say I touch a foo.SUCCESS file if the build succeeds.  Obviously,
I can just do that at the very end.  But I also want the ability to
touch the foo.FAILURE file (or some other status mechanism) if
something (anything) fails.

Something like <target name="build"


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message