What do you mean by "fails"? It certainly should stop dead if you hit
<ant:fail/> or an exception.

- Brett

On 5/5/05, Mark D. Hansen <[EMAIL PROTECTED]> wrote:
> I have this:
> 
> <preGoal name="java:compile">
>   <attainGoal name="goal1"/>
>   <attainGoal name="goal2"/>
> </preGoal>
> 
> If goal1 fails, the processing continues to try to run "goal2".  How do I 
> make it stop if goal1 fails?  Acually, I'd like the whole build to stop if 
> any part of the preGoal fails.  How do I do that?
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to