> -----Original Message-----
> From: Marcin Gurbisz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 01, 2004 1:52 PM
> To: Maven Users List
> Subject: like ant unless
> 
> 
> Hi
> 
> Have maven something like conditional goal execution? Like 
> "unless" in 
> ant target.
> 

You can directly use all ant constructs like "unless" but in maven you can
also use all the functions which are avilable available in jelly

so you can do things like:


<goal name="A">
   <j:if test="....">
       <attainGoal name="B"/>  (conditinal call)
   </j:if>
</goal>

or

<goal name="B">
   <j:if test="....">
         (conditinal processing of the goal)
   </j:if>
</goal>


You might want to ready jelly tutorial (it's quite similar to JSP 2.0 but
bit more powerful)

pzdr

Michal

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

Reply via email to