ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40093] New: - ant.PropertyHelper reference not passed to called build
Date Sat, 22 Jul 2006 08:39:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40093>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40093

           Summary: ant.PropertyHelper reference not passed to called build
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: efanomars@yahoo.com


The reference 'ant.PropertyHelper' isn't passed correctly to
the target of an ant (task) call. If a new PropertyHelper (a subclass of it)
is installed, it is not passed to the called build.
It seems that property expansion is executed before the references 
are passed (with inherirefs="true"). This means that a
standard PropertyHelper instance is created for the reference 
'ant.PropertyHelper' and the new reference is therefore ignored.
Maybe this reference should be treated separately?
See:
- the call to newProject.setInheritedProperty in Ant.execute()
- overrideProperties() calling Property.execute()

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message