Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 130508 Details for
Bug 270469
[launch] The standard launcher should be selected by default.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Partial fix.
20090331_270469.patch (text/plain), 1.77 KB, created by
Pawel Piech
on 2009-04-01 01:35:16 EDT
(
hide
)
Description:
Partial fix.
Filename:
MIME Type:
Creator:
Pawel Piech
Created:
2009-04-01 01:35:16 EDT
Size:
1.77 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.launch >Index: src/org/eclipse/cdt/launch/ui/CMainTab.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/all/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java,v >retrieving revision 1.66 >diff -u -r1.66 CMainTab.java >--- src/org/eclipse/cdt/launch/ui/CMainTab.java 27 Feb 2009 22:38:44 -0000 1.66 >+++ src/org/eclipse/cdt/launch/ui/CMainTab.java 1 Apr 2009 05:32:00 -0000 >@@ -14,6 +14,7 @@ > > import java.io.IOException; > import java.util.ArrayList; >+import java.util.HashSet; > import java.util.List; > > import org.eclipse.cdt.core.CCorePlugin; >@@ -44,6 +45,7 @@ > import org.eclipse.core.runtime.Path; > import org.eclipse.debug.core.ILaunchConfiguration; > import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; >+import org.eclipse.debug.core.ILaunchDelegate; > import org.eclipse.debug.ui.DebugUITools; > import org.eclipse.debug.ui.IDebugUIConstants; > import org.eclipse.jface.dialogs.MessageDialog; >@@ -706,6 +708,15 @@ > * @see org.eclipse.debug.ui.ILaunchConfigurationTab#setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) > */ > public void setDefaults(ILaunchConfigurationWorkingCopy config) { >+ HashSet<String> set = new HashSet<String>(); >+ set.add(getLaunchConfigurationDialog().getMode()); >+ try { >+ ILaunchDelegate preferredDelegate = config.getPreferredDelegate(set); >+ if (preferredDelegate == null) { >+ config.setPreferredLaunchDelegate(set, "org.eclipse.cdt.cdi.launch.localCLaunch"); >+ } >+ } catch (CoreException e) {} >+ > // We set empty attributes for project & program so that when one config > // is > // compared to another, the existence of empty attributes doesn't cause
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270469
:
130508
|
133018