Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-09-16 08:29:59 -0400
committerUwe Stieber2013-09-16 08:29:59 -0400
commit3a8bb7a076ca50fbc7a695d089de926beb842b7e (patch)
tree3647ae8577a01782da24553ac224e6016b915918 /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core
parent3a574c50536f6334f88ac1e48c4bb2fa0d791b5d (diff)
downloadorg.eclipse.tcf-3a8bb7a076ca50fbc7a695d089de926beb842b7e.tar.gz
org.eclipse.tcf-3a8bb7a076ca50fbc7a695d089de926beb842b7e.tar.xz
org.eclipse.tcf-3a8bb7a076ca50fbc7a695d089de926beb842b7e.zip
Target Explorer: Fix path map service adds path map rule with empty properties
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.java2
1 files changed, 2 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 f6d3fee06..98d1b6fc8 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
@@ -124,6 +124,8 @@ public class PathMapService extends AbstractService implements IPathMapService {
// If not matching path map rule exist, create a new one
if (rule == null) {
Map<String, Object> props = new LinkedHashMap<String, Object>();
+ props.put(IPathMap.PROP_SOURCE, source);
+ props.put(IPathMap.PROP_DESTINATION, destination);
rule = new org.eclipse.tcf.internal.debug.launch.TCFLaunchDelegate.PathMapRule(props);
rulesList.add(rule);

Back to the top