Let's say I have this below property in my project.properties
myproperty=myvalue
The following code in maven.xml will not work
<goal name="mygoal>
<ant:echo><${myproperty}</ant:echo> <!_-- always works -->
<j:if test=${myproperty.equals('myvalue')} >
<dosomething/>
</j:if
</goal>
dosomething tag does not got invoked.
However, run this
maven -Dmyproperty=myvalue mygoal
it works
Any thought?
-D
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]