mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 12:05:21 +02:00
Fix current patch concerning Container launching
- fix CApplicationLaunchShortcut find config method test for Container build so we don't ignore valid local launch configs Change-Id: I4453ce2b26e15c9ec8ad53252e9e539c1268ddd8
This commit is contained in:
parent
64154f20f2
commit
e24a04895a
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
|
||||||
String projectName = CDebugUtils.getProjectName(config);
|
String projectName = CDebugUtils.getProjectName(config);
|
||||||
IPath name = bin.getResource().getProjectRelativePath();
|
IPath name = bin.getResource().getProjectRelativePath();
|
||||||
// don't match any launch config that is used for a Container launch
|
// don't match any launch config that is used for a Container launch
|
||||||
if (config.getAttribute(CONNECTION_URI, "").isEmpty()) { //$NON-NLS-1$
|
String connectionURI = config.getAttribute(CONNECTION_URI, (String)null);
|
||||||
|
if (connectionURI == null) { //$NON-NLS-1$
|
||||||
if (programPath != null && programPath.equals(name)) {
|
if (programPath != null && programPath.equals(name)) {
|
||||||
if (projectName != null && projectName.equals(bin.getCProject().getProject().getName())) {
|
if (projectName != null && projectName.equals(bin.getCProject().getProject().getName())) {
|
||||||
candidateConfigs.add(config);
|
candidateConfigs.add(config);
|
||||||
|
|
Loading…
Add table
Reference in a new issue