Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] launch config mapped resources

The ability to map a resource to a launch config was a great addition in 3.2. But it introduces an interesting dilemma: how to deal with resource name changes. The mappings don't get automatically updated. One might think of registering a resource change listener, but what if the resource change happens before the listening plugin is loaded?

1. User launches Eclipse
2. User creates a CDT project and a launch config for it (CDT gives the config a mapping to the Project)
3. User terminates Eclipse
4. User launches Eclipse
5. User renames the project
6. User opens launch configuration editor

The launch config is not shown. CDT has not been loaded at this point, so even if it had a resource listener, it couldn't have done anything.

Is there an obvious solution here, or a creative one?

John











Back to the top