You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Guo, Jiaqi" <ji...@gmail.com> on 2005/01/25 19:23:10 UTC
How to return/stop a goal in jelly script?
In a goal definition in plugin.jelly, can I call something like <return
value="0" /> or <attainGoal name="build:return /> to return (stop)
current goal?
Thanks
Jiaqi
http://www.cyclopsgroup.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to return/stop a goal in jelly script?
Posted by Steve Molloy <sm...@convera.com>.
Returning in the middle of a goal is not a good idea anyways. Why don't
you put the rest of the goal in a condition instead?
Steve Molloy
On Wed, 2005-01-26 at 10:45 +1100, Dion Gillard wrote:
> There's no 'stop' tag to stop the current goal for Maven.
>
>
> On Tue, 25 Jan 2005 12:23:10 -0600, Guo, Jiaqi <ji...@gmail.com> wrote:
> > In a goal definition in plugin.jelly, can I call something like <return
> > value="0" /> or <attainGoal name="build:return /> to return (stop)
> > current goal?
> >
> > Thanks
> > Jiaqi
> >
> > http://www.cyclopsgroup.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
Re: How to return/stop a goal in jelly script?
Posted by Dion Gillard <di...@gmail.com>.
There's no 'stop' tag to stop the current goal for Maven.
On Tue, 25 Jan 2005 12:23:10 -0600, Guo, Jiaqi <ji...@gmail.com> wrote:
> In a goal definition in plugin.jelly, can I call something like <return
> value="0" /> or <attainGoal name="build:return /> to return (stop)
> current goal?
>
> Thanks
> Jiaqi
>
> http://www.cyclopsgroup.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org