]> 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/OsgiBootEquinoxLaunchConfiguration.java
Move to SLC legacy
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ide.ui / src / main / java / org / argeo / slc / ide / ui / launch / osgi / OsgiBootEquinoxLaunchConfiguration.java
index 1f39aac0ad58d01022319f49f85de9e4a78708c5..19cdee12b8b1896f839293499d8fd66f208f9e3b 100644 (file)
@@ -8,8 +8,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.debug.core.ILaunch;
 import org.eclipse.debug.core.ILaunchConfiguration;
 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.pde.ui.launcher.EquinoxLaunchConfiguration;
-import org.eclipse.pde.ui.launcher.IPDELauncherConstants;
+import org.eclipse.pde.launching.EquinoxLaunchConfiguration;
 
 /** OSGiBoot launch configuration. */
 public class OsgiBootEquinoxLaunchConfiguration extends
@@ -22,12 +21,12 @@ public class OsgiBootEquinoxLaunchConfiguration extends
                        ILaunch launch, IProgressMonitor monitor) throws CoreException {
                super.launch(configuration, mode, launch, monitor);
 
-               System.out.println("targetBundles="
-                               + configuration.getAttribute(
-                                               IPDELauncherConstants.TARGET_BUNDLES, ""));
-               System.out.println("workspaceBundles="
-                               + configuration.getAttribute(
-                                               IPDELauncherConstants.WORKSPACE_BUNDLES, ""));
+//             System.out.println("targetBundles="
+//                             + configuration.getAttribute(
+//                                             IPDELauncherConstants.TARGET_BUNDLES, ""));
+//             System.out.println("workspaceBundles="
+//                             + configuration.getAttribute(
+//                                             IPDELauncherConstants.WORKSPACE_BUNDLES, ""));
 
                // Refresh resources before launching
                final IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
@@ -40,7 +39,7 @@ public class OsgiBootEquinoxLaunchConfiguration extends
                        ILaunch launch, IProgressMonitor monitor) throws CoreException {
                // System.out.println("Launching... " + launch);
                ILaunchConfigurationWorkingCopy wc = configuration.getWorkingCopy();
-               OsgiLaunchHelper.updateLaunchConfiguration(wc);
+               OsgiLaunchHelper.updateLaunchConfiguration(wc, false);
                wc.doSave();
                super.preLaunchCheck(configuration, launch, monitor);