From d44b5213c2f59b76bfe311812f97ddee0963971e Mon Sep 17 00:00:00 2001 From: Curtis Windatt Date: Tue, 9 Apr 2013 16:44:59 -0500 Subject: Bug 405081 - Default auto start true has no effect when selected_target_plugins/selected_workspace_plugins not set Change-Id: I55308fb2edd64d5a350c0e8aeb444041bedae1fd --- .../pde/internal/launching/launcher/LaunchConfigurationHelper.java | 4 ++-- 1 file 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 4f18f62e9c..1d5bfb67c7 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); } -- cgit v1.2.3