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

Bug 37400

Summary: Method to remove builders
Product: [Eclipse Project] Platform Reporter: Pascal Rapicault <pascal>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Darin_Swanson
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Pascal Rapicault CLA 2003-05-08 14:45:21 EDT
Currently (v2.1) to remove a builder from a project, there is other way than 
getting the ICommand[] that reprensents the build commands, delete the 
interesting entries and duplicate the others... 

Although this API is not very convenient this work. 

The problem comes when the state of the builders needs to be saved(deactivation 
or shutdown). Indeed because the system caches a builder object, and because 
the system never knows about the modification of the builders, then this cached 
object is never reclaimed.

The proposal is that we should provide a better API to add and remove builders, 
and that the implementation of those operations should do the all cleanup.
Comment 1 John Arthorne CLA 2003-05-08 16:35:29 EDT
We actually already have a bug for this.

*** This bug has been marked as a duplicate of 21951 ***