goal1, goal2, are ant <java ...> tasks. I guess the java is failing in a way that does not throw an exception. Sorry for the stupid question!
> -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 05, 2005 9:56 AM > To: Maven Users List > Subject: Re: preGoal - how to stop the build ?? > > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]