Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
None
Description
The propoerties placed not alone inside quotes are not correctly interpreted. For example :
<property name="myProp" value="OK" />
<echo message="alone in quote :"/>
<echo message="${myProp}"/>
<echo>not alone in text ${myProp}.</echo>
<echo message="not alone in quote ${myProp}."></echo>
<fail unless="myProp"/>
Succeed and print :
[echo] alone in quote :
[echo] OK
[echo] not alone in text OK.
[echo] not alone in quote null.
While executed directly into ant prints :
[echo] alone in quote :
[echo] OK
[echo] not alone in text OK.
[echo] not alone in quote OK.
You can find in attachment the pom.xml and the ant.xml I used.
Attachments
Attachments
Issue Links
- is duplicated by
-
MANTRUN-29 antrun: properties not resolved in attributes
- Closed