AW: Exiting ant TARGET without aborting build

2005-03-17 Thread Jan . Materne
... ... error message Jan > -Ursprüngliche Nachricht- > Von: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 17. März 2005 20:56 > An: Ant Users List > Betreff: Re: Exiting ant TARGET without aborting build > &g

Re: Exiting ant TARGET without aborting build

2005-03-17 Thread Michael Pelz Sherman
Yeah, yeah, I know. :-) Mostly, I was just curious if such a thing were possible. But I think there is a good argument to be made for this kind of task. After all, if one has to break up a functionally "atomic" target into a whole bunch of sub-targets which will never be re-used, that's a lot more

Re: Exiting ant TARGET without aborting build

2005-03-17 Thread Mark Lundquist
On Mar 17, 2005, at 10:04 AM, Michael Pelz Sherman wrote: I'd like to be able to do something like this: (condition check here) (do more-tasks...) There's a general pattern that may be in play here... whenever you have a target that's starting to look li

Re: Exiting ant TARGET without aborting build

2005-03-17 Thread Matt Benson
Not ideal but you can use the task with antcontrib's . -Matt --- Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > Yes, I meant from inside the buildfile. Sorry - > actually I mean to say > "target", not "task". I'd like to be able to do > something like this: > > > > > > >

Re: Exiting ant TARGET without aborting build

2005-03-17 Thread Michael Pelz Sherman
Yes, I meant from inside the buildfile. Sorry - actually I mean to say "target", not "task". I'd like to be able to do something like this: (condition check here) (do more-tasks...) The "exit" task would simply exit the target, but would not abort th