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

Bug 197000

Summary: [launching] Auto Launch Configuration deletion should be resource specific
Product: [Eclipse Project] Platform Reporter: Samantha Chan <chanskw>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: mark.melvin, sutton
Version: 3.3   
Target Milestone: 3.4 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch for 3.3.1 (if needed) none

Description Samantha Chan CLA 2007-07-18 14:13:17 EDT
The platform automatically deletes launch configurations if their associated projects are deleted.

The problem is that launch configurations can be associated with a set of resources.  In our use case, we have our launch configurations associated with an IFile.  We should delete the launch configurations when the resources specified in the resource mapping are deleted.  Otherwise, if the user has deleted the file, the launch configuration can still get left behind until the project is deleted.
Comment 1 Michael Rennie CLA 2007-07-19 16:37:05 EDT
Created attachment 74189 [details]
patch for 3.3.1 (if needed)

This patch is for 3.3.1 in the event we need it :)
Comment 2 Michael Rennie CLA 2007-07-19 16:37:48 EDT
applied changes to HEAD, waiting to see if we are going to provide the fix for 3.3.1 before marking as fixed.
Comment 3 Michael Rennie CLA 2007-07-24 11:11:59 EDT
not applying to 3.3.1

marking fixed
Comment 4 Michael Rennie CLA 2007-07-24 11:12:13 EDT
please verify Darin W
Comment 5 Darin Wright CLA 2007-07-24 15:30:06 EDT
Verified. Optimized to only visit "deletion delta visitor" if the preference to auto-delete is on.