| Summary: | removing a project should remove launcher-entry as well | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | arne anka <eclipse-bugs> |
| Component: | Debug | Assignee: | Darin Wright <darin.eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | Michael_Rennie |
| Version: | 3.1.1 | ||
| Target Milestone: | 3.2 M5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 19521 | ||
| Bug Blocks: | |||
|
Description
arne anka
We don't delete launch configurations when a project is deleted as the project may be from a repository. In this case, the user may simply be deleting the project before fetching a new version from the repository. It might be useful to have a preference to control this, or prompt the user. However, this also requires the support of bug 19521, that allows a config to be associated with a resource/project. > as the project may be from a repository right. > It might be useful to have a preference to control this, or prompt the user. ok, that would be a better way. make my issue a feature request for that. > However, this also requires the support of bug 19521, that dependency is not obvious to me but i don't know much about eclipse's internals. (btw the issue occured with a c++-project as well, if it matters) there's no easy way to determine whether there's a launch-configuration for the project to delete? For a "platform solution" that will work for all debuggers/launches contributed to the platform (i.e. Java, C++, etc), we need a way for the platform to know what project a launch configuration is associated with (if any). Currently, there is no API for this at the platform level, as there is no hard requirement for a config to be associated with a project. We are investigating support for this. fixed leveraging configuration mapping/filtering, see bug 19521 for details. re-opening to reassign for verification please verify Darin made additional changes: 1. include a prompt for the user to select associated launch configurations to delete 2. a preference on the Launch Configurations page for whether to delete associated launch configurations or not (always/never/prompt -- default is to prompt). see LaunchManager, LaunchConfigurationsPreferencePage, o.e.debug.ui plugin.xml and DeleteLaunchConfigurations please verify changes Darin Modified message on 'delete' dialog to explain why we are prompting the user. Verified. |