Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] Lanuch configuration resource mappings and migration in 3.2


Debug implementors,

Support to map launch configurations with resources has been added in 3.2. The following entries have been added to the 3.2 migration guide.

 

Launch configuration resource mapping

Eclipse 3.2 provides new infrastructure for associating launch configurations with resources. This mapping allows the platform to perform resource based filtering on launch configurations and allows the platform to optionally delete launch configurations when an associated project is deleted. The launch dialog has been enhanced to support a set of filters to optionally hide configurations associated with closed and deleted projects. As well, the launch dialog supports filtering based on selected working sets in the active workbench window, which can also be selected in the launch dialog.

It is a client responsibility to manage the resource mapping for launch configurations. API has been added to ILaunchConfigurationWorkingCopy to set the resources associated with a configuration, and API has been added to ILaunchConfiguration to get the resources associated with a configuration.

Launch configuration migration support

Eclipse 3.2 provides new infrastructure for migrating launch configurations to be compatible with new tooling. For example, in Eclipse 3.2, support has been added to perform resource based filter on launch configurations. Launch configurations need to be upgraded to provide resource mappings in to leverage this new feature. Users can manually migrate launch configurations in their workspace from the Run/Debug > Launching > Launch Configurations preference page, by pressing the Migrate button.

An new optional migration delegate attribute has been added to the launchConfigurationTypes extension point, specifying a class that implements the new interface ILaunchConfigurationMigrationDelegate. A migration delegate is responsible for identifying migration candidates and migrating them.



Darin Wright

Back to the top