diff options
-rw-r--r-- | bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxManipulatorImpl.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxManipulatorImpl.java b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxManipulatorImpl.java index fba4751fc..b25500dc2 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxManipulatorImpl.java +++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxManipulatorImpl.java @@ -339,7 +339,11 @@ public class EquinoxManipulatorImpl implements Manipulator { private void loadWithoutFwPersistentData() throws IOException { SimpleBundlesState.checkAvailability(fwAdmin); File launcherConfigFile = getLauncherConfigLocation(launcherData); - if (launcherConfigFile != null && !launcherConfigFile.getName().endsWith(IGNORED)) { + if (launcherConfigFile != null) { + // if ignored then try to read the parent + if (launcherConfigFile.getName().endsWith(IGNORED)) { + launcherConfigFile = new File(launcherData.getLauncher().getAbsolutePath() + EquinoxConstants.INI_EXTENSION); + } // use launcher. -- > load from LaucnherConfig file. // the parameters in memory will be updated. EclipseLauncherParser parser = new EclipseLauncherParser(); |