Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-09-16 10:33:15 -0400
committerUwe Stieber2013-09-16 10:33:15 -0400
commit1219aa225b2a8a00126ac29f36807119c5fa6c2e (patch)
tree5076c5ee7c2e8faae07c53d6efeba5bef6140729 /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core
parent3a8bb7a076ca50fbc7a695d089de926beb842b7e (diff)
downloadorg.eclipse.tcf-1219aa225b2a8a00126ac29f36807119c5fa6c2e.tar.gz
org.eclipse.tcf-1219aa225b2a8a00126ac29f36807119c5fa6c2e.tar.xz
org.eclipse.tcf-1219aa225b2a8a00126ac29f36807119c5fa6c2e.zip
Target Explorer: Fix path map service does not save launch configuration
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/services/PathMapService.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/services/PathMapService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/services/PathMapService.java
index 98d1b6fc8..b29d5c639 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/services/PathMapService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/services/PathMapService.java
@@ -255,6 +255,15 @@ public class PathMapService extends AbstractService implements IPathMapService {
} else {
config.setAttribute(org.eclipse.tcf.internal.debug.launch.TCFLaunchDelegate.ATTR_PATH_MAP + "V1", bf1.toString()); //$NON-NLS-1$
}
+
+ try {
+ config.doSave();
+ }
+ catch (CoreException e) {
+ if (Platform.inDebugMode()) {
+ Platform.getLog(CoreBundleActivator.getContext().getBundle()).log(e.getStatus());
+ }
+ }
}
/* (non-Javadoc)

Back to the top