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/12/14 21:53:36 UTC
DO NOT REPLY [Bug 49659] [regression] Project.getReference(key) no
longer returns certain references
https://issues.apache.org/bugzilla/show_bug.cgi?id=49659
Michael Rennie <mi...@ca.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Project.getReference(key) |[regression]
|no longer returns certain |Project.getReference(key)
|references |no longer returns certain
| |references
--- Comment #3 from Michael Rennie <mi...@ca.ibm.com> 2010-12-14 15:53:33 EST ---
Would have been nice to have this fixed in Ant 1.8.2.
I spent some time doing some more debugging of the org.apache.ant source and
found that during the parse of a build file in
ProjectHelpr2$ElementHandler#onStartElement(...)
a call is made to AntXMLContext.configureId(...) which maps the UnknownElement
to its id in Project#idReferences. Prior to Ant 1.8.0 you could then look up
these UnknownElements by passing their id into Project#getReference. This no
longer works as mentioned in comment #0.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.