You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rahul murthy <ra...@yahoo.com> on 2005/07/12 09:46:47 UTC

Ignoring the dependent goal

Hi all,

 how can we implement the dependent goal to ignored.
like i have

<goal name="rrm" prereqs="createSomething"> 
  <echo>${cmd_arg}</echo>
<goal>

<goal name="createSomething" > 
   <!--some porcessing-->
<goal>

i would like the goal "rrm" to be executed even if the
goal ="createSomething" fails.

regards,
Rahul.


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Ignoring the dependent goal

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: rahul murthy [mailto:rahul_1109@yahoo.com]
> Sent: mardi 12 juillet 2005 09:47
> To: Maven Users List
> Subject: Ignoring the dependent goal
> 
> Hi all,
> 
>  how can we implement the dependent goal to ignored.
> like i have
> 
> <goal name="rrm" prereqs="createSomething">
>   <echo>${cmd_arg}</echo>
> <goal>
> 
> <goal name="createSomething" >
>    <!--some porcessing-->
> <goal>
> 
> i would like the goal "rrm" to be executed even if the
> goal ="createSomething" fails.

Use a <j:catch> to catch exceptions. See
http://jakarta.apache.org/commons/jelly/tags.html

-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org