https://issues.apache.org/bugzilla/show_bug.cgi?id=50179
Summary: Properties declared as "local" are not accessible via
propertyset
Product: Ant
Version: 1.8.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
Run this:
<?xml version="1.0" encoding="UTF-8"?>
<project name="test">
<target name="tst">
<local name="loc"/>
<property name="loc" value="hello"/>
<echoproperties>
<propertyset>
<propertyref name="loc"/>
</propertyset>
</echoproperties>
</target>
</project>
You'd expect the property "loc" to be printed, but it doesn't.
Comment-out the "local" task and it will work as expected.
I'd consider setting severity here to "criticial" as it indeed looks like
something insanely bad.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.