Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-04-05 09:55:38 +0000
committerUwe Stieber2012-04-05 09:56:41 +0000
commitbaf7e9de27649d62c66f030bab4d8481a18eebbe (patch)
treeb5fe1f9eac3c72a69624b98c5db7ec06dacf383e /target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher
parent501d4943db3dec38d7f30017a810ea9cc64d7df9 (diff)
downloadorg.eclipse.tcf-baf7e9de27649d62c66f030bab4d8481a18eebbe.tar.gz
org.eclipse.tcf-baf7e9de27649d62c66f030bab4d8481a18eebbe.tar.xz
org.eclipse.tcf-baf7e9de27649d62c66f030bab4d8481a18eebbe.zip
Target Explorer: Changed IChannelManager API to allow for greater flexibility in regards to future parameterization needs
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher/ScriptLauncher.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher/ScriptLauncher.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher/ScriptLauncher.java
index 4f1f44f26..d8bab60e9 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher/ScriptLauncher.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.scripting/src/org/eclipse/tcf/te/tcf/core/scripting/launcher/ScriptLauncher.java
@@ -10,6 +10,8 @@
package org.eclipse.tcf.te.tcf.core.scripting.launcher;
import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IStatus;
@@ -108,7 +110,9 @@ public class ScriptLauncher extends PlatformObject implements IScriptLauncher {
this.properties = properties;
// Open a dedicated channel to the given peer
- Tcf.getChannelManager().openChannel(peer, true, new IChannelManager.DoneOpenChannel() {
+ Map<String, Boolean> flags = new HashMap<String, Boolean>();
+ flags.put(IChannelManager.FLAG_FORCE_NEW, Boolean.TRUE);
+ Tcf.getChannelManager().openChannel(peer, flags, new IChannelManager.DoneOpenChannel() {
/* (non-Javadoc)
* @see org.eclipse.tcf.te.tcf.core.interfaces.IChannelManager.DoneOpenChannel#doneOpenChannel(java.lang.Throwable, org.eclipse.tcf.protocol.IChannel)
*/

Back to the top