maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: <j:mute>
Date Mon, 01 Nov 2004 20:16:43 GMT
This tag was created in a later version of Jelly. You may have to wait
for Maven 1.1.

You can try depending on commons-jelly-beta-4, but it may break Maven.

Alternatively, you can reimplement the tag in another library
temporarily using the source from Jelly.

Cheers,
Brett


On Mon, 1 Nov 2004 15:01:24 -0500, Ben Anderson
<benanderson.us@gmail.com> wrote:
> Anyone know what I'm doing wrong here:
> 
>   <goal name="prop">
>     <j:new var="envs" className="java.util.ArrayList"/>
>     <j:mute>
>       ${envs.add('.qa')}
>       ${envs.add('.Nqa')}
>       ${envs.add('.prod')}
>     </j:mute>
>     ...
> 
> I assumed running this would output nothing, but on the contrary, it does:
> $ maven -Denv=qa prop
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0
> 
> build:start:
> 
> prop:
> <j:mute>true
>       true
>       true</j:mute>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> Finished at: Mon Nov 01 14:57:29 EST 2004
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Mime
View raw message