X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=eclipse%2Fplugins%2Forg.argeo.slc.ide.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fide%2Fui%2Flaunch%2Fosgi%2FAbstractOsgiLaunchShortcut.java;h=08c06e09d9c47cebe52da578d885fa26053b828e;hb=8d69811d7ca038b3d15d8d7d811288f4ab957afb;hp=757e528bd203775f4a1659bbd227e5025f724534;hpb=24f738dcddf83ec2c13fe2e7498a47a4bcd0f427;p=gpl%2Fargeo-slc.git diff --git a/eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/AbstractOsgiLaunchShortcut.java b/eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/AbstractOsgiLaunchShortcut.java index 757e528bd..08c06e09d 100644 --- a/eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/AbstractOsgiLaunchShortcut.java +++ b/eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/AbstractOsgiLaunchShortcut.java @@ -45,16 +45,18 @@ public abstract class AbstractOsgiLaunchShortcut extends OSGiLaunchShortcut { .getAttribute( IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, "")); - String defaultProgArgs = configuration.getAttribute( - IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, - ""); - configuration.setAttribute( - OsgiLauncherConstants.ATTR_DEFAULT_PROGRAM_ARGS, - defaultProgArgs); +// String defaultProgArgs = configuration.getAttribute( +// IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, +// ""); +// 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",