Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 241067

Summary: The eclipse.import reader reads the same files multiple times
Product: z_Archived Reporter: Thomas Hallgren <thomas>
Component: BuckminsterAssignee: Thomas Hallgren <thomas>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Thomas Hallgren CLA 2008-07-16 07:02:56 EDT
The eclipse.import reader will read all features that it finds on an update site in order to figure out the full set of plug-ins and fragments that are available. It does that since browse-priviligies are commonly turned off. The only way it to start with the site.xml file and then extend from there.

At present, the reader doesn't cache the data that it obtains when doing this so each plug-in resolution will cause a full read of the all site features.
Comment 1 Thomas Hallgren CLA 2008-07-16 07:04:36 EDT
A cache was added to the RMContext used for resolution. The cache is keyed by the location URL and stores the full list of plug-ins available.

The fix is available in revision 9455