ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49659] [regression] Project.getReference(key) no longer returns certain references
Date Tue, 14 Dec 2010 20:53:36 GMT

Michael Rennie <> 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 <> 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 


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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message