Bug 34680

Summary: Eclipse and AntXMLContext.setCurrentTargets(Map)
Product: Ant Reporter: Darin Swanson <Darin_Swanson>
Component: CoreAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.6.3   
Target Milestone: 1.7.0   
Hardware: Other   
OS: other   

Description Darin Swanson 2005-04-29 19:50:39 UTC
Eclipse's Ant integration has a class that extends ProjectHelper2 for 
generation of an Ant model for the Eclipse Ant editor.

As such we need to manipulate the AntXMLContext.
Unfortunately changes in Ant 1.6.3 to AntXMLContext (bug 34566) are causing us 
pain:
  AntXMLContext.setCurrentTargets(Map) has default protection.

Can this method be made public (preferred) or at least made protected?

This is not a show stopper for Eclipse integrating Ant 1.6.3...I have 
implemented a workaround using reflection. But this workaround is ugly...
Comment 1 Peter Reilly 2005-05-03 10:35:37 UTC
Opps, sorry.
It was a last minute fix....
I am not too sure if there will be another 1.6 release, but
I will place the change in the 1.6 branch so it will be be
picked up if there is.
Comment 2 Darin Swanson 2005-05-03 18:33:02 UTC
Thanks. If there is any way this could cause a rev of the Ant release it would 
be great. This problem is causing more grief than anticipated...performance etc.