Hi,
I've noticed that there is a distinct difference with properties declared in a
.properties file vs. properties set using <j:set. I'm wondering if this is the
desired behavior or a bug. For instance:
build.properties
----------------
my.property=myValue
maven.xml
---------
<ant:echo>${my.property}</ant:echo>
<j:if test="${my.property == 'myValue'}">
<ant:echo>true</ant:echo>
</j:if>
outputs:
[echo] myValue
notice that "[echo] true" is not output.
now if I do this:
maven.xml
---------
<j:set var="my.property" value="myValue"/>
<ant:echo>${my.property}</ant:echo>
<j:if test="${my.property == 'myValue'}">
<ant:echo>true</ant:echo>
</j:if>
outputs:
[echo] myValue
[echo] true
Why this difference? Am I doing something wrong? Any thoughts?
Thanks,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]