You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/10/29 10:11:21 UTC
DO NOT REPLY [Bug 50179] New: Properties declared as "local" are not
accessible via propertyset
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: notifications@ant.apache.org
ReportedBy: isaac@shabtay.com
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.
DO NOT REPLY [Bug 50179] Properties declared as "local" are not
accessible via propertyset
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50179
Antoine Levy-Lambert <an...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|1.8.1 |1.8.2
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.