> 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
type
> >stuff.
> >
> >Or is it already there?
>
> only partially through listeners.
>
> We should generalize it to generic "handlers" that determine
behaviour
> 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"
onfail="build-failed">....</target>

Thanks,
Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to