Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 247890 - deleted projects not removed from the service model
Summary: deleted projects not removed from the service model
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 2.1M2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1RC2   Edit
Assignee: Mike Kucera CLA
QA Contact: Greg Watson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 16:28 EDT by Mike Kucera CLA
Modified: 2008-10-16 10:43 EDT (History)
0 users

See Also:


Attachments
proposed patch (5.66 KB, patch)
2008-10-14 12:13 EDT, Mike Kucera CLA
recoskie: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kucera CLA 2008-09-18 16:28:36 EDT
When a project is deleted it should be removed from the service model, currently the service model retains configurations for deleted projects.

Two things are needed:
- A resource change listener to detected when a project is deleted.
- Add a method to ServiceModelManager called removeConfigurations(IProject)
Comment 1 Mike Kucera CLA 2008-10-14 12:13:24 EDT
Created attachment 115056 [details]
proposed patch
Comment 2 Chris Recoskie CLA 2008-10-16 10:42:43 EDT
Applied to HEAD.  Thanks Mike.