Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjszursze2002-02-14 16:35:55 +0000
committerjszursze2002-02-14 16:35:55 +0000
commitfadf5dad997196a06b776c817623d7b0d8a9be61 (patch)
treed05e85d2bef67f28b3bb4301d4f832e793c0f985
parent9823f1b5b458960948971eeeb77fa7963c0964b6 (diff)
downloadeclipse.platform.debug-fadf5dad997196a06b776c817623d7b0d8a9be61.tar.gz
eclipse.platform.debug-fadf5dad997196a06b776c817623d7b0d8a9be61.tar.xz
eclipse.platform.debug-fadf5dad997196a06b776c817623d7b0d8a9be61.zip
fix for 9475
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
index 7409ca925..9ef7d69e9 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
@@ -1478,7 +1478,9 @@ public class LaunchManager implements ILaunchManager, IResourceChangeListener {
if (resource instanceof IFile) {
IFile file = (IFile)resource;
if (ILaunchConfiguration.LAUNCH_CONFIGURATION_FILE_EXTENSION.equals(file.getFileExtension())) {
- ILaunchConfiguration handle = new LaunchConfiguration(file.getLocation());
+ IPath configPath = new Path(ResourcesPlugin.getWorkspace().getRoot().getLocation().toString() +
+ file.getFullPath().toString());
+ ILaunchConfiguration handle = new LaunchConfiguration(configPath);
switch (delta.getKind()) {
case IResourceDelta.ADDED :
LaunchManager.this.launchConfigurationAdded(handle);

Back to the top