summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Aubry2012-11-14 11:40:48 (EST)
committer Simon Bernard2012-11-15 08:08:52 (EST)
commit9bff66c614e6b0a7846bf468864743494f1e4b37 (patch)
tree59caa6c128ba0f6d5c063d3c66fde12b63b5572e
parent223bab3112e48ac35fd989a2b77dacb743fbd4ce (diff)
downloadorg.eclipse.koneki.ldt-9bff66c614e6b0a7846bf468864743494f1e4b37.zip
org.eclipse.koneki.ldt-9bff66c614e6b0a7846bf468864743494f1e4b37.tar.gz
org.eclipse.koneki.ldt-9bff66c614e6b0a7846bf468864743494f1e4b37.tar.bz2
Replacing # by _ in the name of launch configuration created using RunAS
-rw-r--r--plugins/org.eclipse.koneki.ldt.debug.ui/src/org/eclipse/koneki/ldt/debug/ui/internal/launchconfiguration/local/LuaApplicationLaunchShortcut.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.koneki.ldt.debug.ui/src/org/eclipse/koneki/ldt/debug/ui/internal/launchconfiguration/local/LuaApplicationLaunchShortcut.java b/plugins/org.eclipse.koneki.ldt.debug.ui/src/org/eclipse/koneki/ldt/debug/ui/internal/launchconfiguration/local/LuaApplicationLaunchShortcut.java
index 57175c2..4ea1ed2 100644
--- a/plugins/org.eclipse.koneki.ldt.debug.ui/src/org/eclipse/koneki/ldt/debug/ui/internal/launchconfiguration/local/LuaApplicationLaunchShortcut.java
+++ b/plugins/org.eclipse.koneki.ldt.debug.ui/src/org/eclipse/koneki/ldt/debug/ui/internal/launchconfiguration/local/LuaApplicationLaunchShortcut.java
@@ -230,7 +230,7 @@ public class LuaApplicationLaunchShortcut extends AbstractScriptLaunchShortcut {
// custom launch conf name
String fileNameWithoutExtension = script.getLocation().removeFileExtension().lastSegment();
- String configNamePrefix = MessageFormat.format("{0}#{1}", script.getProject().getName(), fileNameWithoutExtension); //$NON-NLS-1$
+ String configNamePrefix = MessageFormat.format("{0}_{1}", script.getProject().getName(), fileNameWithoutExtension); //$NON-NLS-1$
wc = configType.newInstance(null, getLaunchManager().generateLaunchConfigurationName(configNamePrefix));
wc.setAttribute(ScriptLaunchConfigurationConstants.ATTR_SCRIPT_NATURE, getNatureId());