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

Bug 329095

Summary: [launch] Request for more visible display of launch configuration migration candidates
Product: [Eclipse Project] Platform Reporter: Nobody - feel free to take it <nobody>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: Michael_Rennie, pawel.1.piech
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
Implementation that shows migration candidates as Problems.
none
Screenshot of Global Prefs page
none
Screenshot of QuickFix dialog
none
UPDATE: Implementation that shows migration candidates as Problems.
none
UPDATE 2: Implementation that shows migration candidates as Problems. none

Description Nobody - feel free to take it CLA 2010-10-29 15:27:18 EDT
Build Identifier: M20100909-0800

The existing Launch Configuration Migrate feature allows the user to click a Migrate button from the Global Settings to see a list of potential migration candidates.  The drawback is that the user has no idea if he has a migration candidate unless he performs this step (thus likely to be overlooked) or the launch provider provides some mechanism for handling the situation.

Reproducible: Always
Comment 1 Nobody - feel free to take it CLA 2010-10-29 15:36:28 EDT
Created attachment 182079 [details]
Implementation that shows migration candidates as Problems.

The patch adds a new combo box to the Launch Configurations global prefs allowing the user to select a behavior for migration candidates.  Available behaviors are 1) ignore, 2) display as Info Problem, 3) display as Warning Problem, 4) display as Error Problem, and 5) automatically migrate.  A QuickFix is provided for handling the Problems.
Comment 2 Nobody - feel free to take it CLA 2010-10-29 15:41:57 EDT
Created attachment 182081 [details]
Screenshot of Global Prefs page
Comment 3 Nobody - feel free to take it CLA 2010-10-29 15:42:31 EDT
Created attachment 182082 [details]
Screenshot of QuickFix dialog
Comment 4 Nobody - feel free to take it CLA 2010-11-05 16:06:25 EDT
Created attachment 182527 [details]
UPDATE: Implementation that shows migration candidates as Problems.

I updated the patch to fix a problem where the Restore Defaults buttons didn't work for the migration behavior combo.  Also removed some redundant code.
Comment 5 Nobody - feel free to take it CLA 2010-11-16 11:04:06 EST
Created attachment 183235 [details]
UPDATE 2: Implementation that shows migration candidates as Problems.

Patch 3 includes the following changes:
1. Reduced probability of deadlock for automatic launch config migration.
2. Handle read-only launch config migration candidates, though only for shared and not for local.
3. Show migration candidacy in Launch Config dialog.
Comment 6 Pawel Piech CLA 2011-06-08 14:10:07 EDT
Pretty cool.  Can we find time to review the 413 loc patch?
Comment 7 Michael Rennie CLA 2012-02-28 16:47:51 EST
(In reply to comment #6)
> Pretty cool.  Can we find time to review the 413 loc patch?

Sadly the CQ deadline has passed (it was around Feb 3rd), a patch of this size will have to wait until the next release...
Comment 8 Lars Vogel CLA 2019-11-14 03:14:11 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.