summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-04-09 17:44:59 (EDT)
committerCurtis Windatt2013-04-10 15:24:28 (EDT)
commitd44b5213c2f59b76bfe311812f97ddee0963971e (patch)
treee29aa344a0ee7769c033ccfc0dbcb48f178c7382
parente29300c629991523d3544f9c2d757dd56306bcd7 (diff)
downloadeclipse.pde.ui-d44b5213c2f59b76bfe311812f97ddee0963971e.zip
eclipse.pde.ui-d44b5213c2f59b76bfe311812f97ddee0963971e.tar.gz
eclipse.pde.ui-d44b5213c2f59b76bfe311812f97ddee0963971e.tar.bz2
Bug 405081 - Default auto start true has no effect when
selected_target_plugins/selected_workspace_plugins not set Change-Id: I55308fb2edd64d5a350c0e8aeb444041bedae1fd
-rw-r--r--ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java b/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java
index 4f18f62..1d5bfb6 100644
--- a/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java
+++ b/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation and others.
+ * Copyright (c) 2005, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -161,7 +161,7 @@ public class LaunchConfigurationHelper {
boolean usedefault = configuration.getAttribute(IPDELauncherConstants.USE_DEFAULT, true);
boolean useFeatures = configuration.getAttribute(IPDELauncherConstants.USEFEATURES, false);
if (usedefault || useFeatures) {
- bundlesTxt = P2Utils.writeBundlesTxt(bundlesWithStartLevels, 4, false, configurationDirectory, osgiBundles);
+ bundlesTxt = P2Utils.writeBundlesTxt(bundlesWithStartLevels, start, autostart, configurationDirectory, osgiBundles);
} else {
bundlesTxt = P2Utils.writeBundlesTxt(bundlesWithStartLevels, start, autostart, configurationDirectory, null);
}