]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/AbstractOsgiLaunchShortcut.java
Introduce specific tab to OSGi boot
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ide.ui / src / main / java / org / argeo / slc / ide / ui / launch / osgi / AbstractOsgiLaunchShortcut.java
index 757e528bd203775f4a1659bbd227e5025f724534..c9337d85f56a3b114f39db1268666f3ac5e5e9f8 100644 (file)
@@ -48,13 +48,15 @@ public abstract class AbstractOsgiLaunchShortcut extends OSGiLaunchShortcut {
                        String defaultProgArgs = configuration.getAttribute(
                                        IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
                                        "");
-                       configuration.setAttribute(
-                                       OsgiLauncherConstants.ATTR_DEFAULT_PROGRAM_ARGS,
-                                       defaultProgArgs);
+                       // configuration.setAttribute(
+                       // OsgiLauncherConstants.ATTR_DEFAULT_PROGRAM_ARGS,
+                       // defaultProgArgs);
 
+                       configuration.setAttribute(
+                                       IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
+                                       findWorkingDirectory());
                        OsgiLaunchHelper.updateLaunchConfiguration(configuration,
-                                       bundlesToStart, systemPropertiesToAppend,
-                                       findWorkingDirectory(), null);
+                                       bundlesToStart, systemPropertiesToAppend, null);
                } catch (CoreException e) {
                        Shell shell = Display.getCurrent().getActiveShell();
                        ErrorDialog.openError(shell, "Error",