https://issues.apache.org/bugzilla/show_bug.cgi?id=45226
Summary: subant overrides properties
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Consider the following scenario:
<subant ...>
<property name="a" value="someValue" />
<property file="my.properties" />
</subant>
with the my.properties file having the following values:
# My.Properties
a=differentValue
b=This is ${a}
# End
If you output the property ${b} in the script you run using subant, the output
will read: "this is differentValue".
I would expect the output to be "this is someValue" since property ${a} has
already been declared before the property file was included and should not be
overwritten by the declaration in the property file.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.