Community
Participate
Working Groups
Created attachment 268721 [details] two launch groups In Bug 492788 Launch Groups were promoted to Core Debug from CDT (yay!). However that has left in Oxygen two launch groups launch types if CDT is installed. See screenshot.
We have to do migrate old one to new once to remove them completely.... Unfortunately migrate is not automatic functionality
Hm. Not so nice... Actually there is nothing really figured out on removing it from CDT. The most simple thing to do right now would be (for Oxygen) to remove the extension point registration for the CDT launch group elements - I don't have them all at hand, so you'd need to search for those. On migrating individual configurations: it should be possible to "migrate" to the core debug version by changing the launch configuration type ID in the actual launch configurations. Unfortunately I need to run now, so I cannot lookup more information. I'll be back on 8th of June, then I could help
Thanks Elena and Markus. (In reply to Elena Laskavaia from Bug 492788 comment #31) > Yes ID has to change to platform debug one. We are prepared to write > a migration delegate (although its sucks that this is not invoked > automatically) I am correct in assuming that this was never written. It certainly isn't in CDT. (In reply to Elena Laskavaia from comment #1) > We have to do migrate old one to new once to remove them completely.... > Unfortunately migrate is not automatic functionality I assume you mean that the user has to press the "Migrate" button in Preferences -> Run/Debug -> Launching -> Launch Configurations?
(In reply to Jonah Graham from comment #3) > I am correct in assuming that this was never written. It certainly isn't in > CDT. That was meant to be phrased as a question, "Am I correct..."
IMHO we should just change name of this LC type and add (Deprecated) word it in. Document that it will be removed, ask used to migrate manually (recreate manually - no programmatic help). Remove from next release (Oxygen +1).
Thanks Elena, That would make life simpler! I'll do that instead of trying to write a converter. Jonah
New Gerrit change created: https://git.eclipse.org/r/98617
Gerrit change https://git.eclipse.org/r/98617 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fa142ee04b187ea9a9667076c58c4d4aa5fcf554
To migrate an existing Group Launch Configuration from CDT's deprecated format to the Platform format simply edit the .launch file and change the following things (with Eclipse not running). Change: <launchConfiguration type="org.eclipse.cdt.launch.launchGroup"> to: <launchConfiguration type="org.eclipse.debug.core.groups.GroupLaunchConfigurationType"> Change all the key prefixes from: org.eclipse.cdt.launch.launchGroup to: org.eclipse.debug.core.launchGroup Change the attribute type for "[...].enabled" attributes from: stringAttribute to: booleanAttribute If your .launch file is not stored in your project, it can be found in workspace/.metadata/.plugins/org.eclipse.debug.core/.launches
New Gerrit change created: https://git.eclipse.org/r/98623
Added wiki page https://wiki.eclipse.org/CDT/User/LaunchGroupMigrationInfo with migration info from Comment 9
Gerrit change https://git.eclipse.org/r/98623 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=ad97076c4d323cf8aaa60e9f3b6f5c057eae705b
(In reply to Eclipse Genie from comment #12) > Gerrit change https://git.eclipse.org/r/98623 was merged to [master]. > Commit: > http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/ > ?id=ad97076c4d323cf8aaa60e9f3b6f5c057eae705b Everything has been marked deprecated, the actual removal is tracked in Bug 517813