https://issues.apache.org/bugzilla/show_bug.cgi?id=49659

Michael Rennie <[email protected]> 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 <[email protected]> 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.

Reply via email to