https://issues.apache.org/bugzilla/show_bug.cgi?id=49588
Summary: toString does not properly initialize resource
collection
Product: Ant
Version: 1.8.1
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
Running the following build file against ant
<project default="ant-test">
<target name="ant-test" >
<resources id="A">
<string value="a"/>
<string value="b"/>
</resources>
<union id="union"><resources refid="A"/></union>
<echo>
A: ${toString:A} = a;b
union: ${toString:union} = a;b
A: ${toString:A} = a;b
</echo>
</target>
</project>
produces the output
ant-test:
[echo]
[echo] A: = a;b
[echo] union: a;b = a;b
[echo] A: a;b = a;b
[echo]
Note the missing "a;b" after the first "A:".
The bug has been discussed on "[email protected]" under the topic "Strange
"toString"-behaviour on string resources".
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.