Glenn McAllister wrote:
Scott Sanders wrote:
If the target fails, then the onfail target is executed, simple as that. What am I missing about your -1?
And what happens when the on fail target fails? What if the on fail target has dependencies? What happens if they fail?
OK. But you have to give me some rope, don't you ;-)
I agree that as a concept, having an onfail target seems like a good idea. In practice, it could get *very* ugly.
Do you have any ideas for this type of functionality?
perhaps an <onfail> tag that is at the target level that the project calls?
I think it has some real use and I would *really* like to see it in Ant 2.0
Scott Sanders
