maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Anderson <benanderson...@gmail.com>
Subject <j:mute>
Date Mon, 01 Nov 2004 20:01:24 GMT
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


Mime
View raw message