diff options
| author | Eike Stepper | 2015-05-23 05:01:21 +0000 |
|---|---|---|
| committer | Eike Stepper | 2015-05-23 05:01:21 +0000 |
| commit | 36482b44ecdff2c63616555cb7990dad90b3033c (patch) | |
| tree | 13d5703c8c2ae1c265d35ef7c0fd14fc2739d87a | |
| parent | a6fed57c10084f43d86e2ba0e206c7610aff1a08 (diff) | |
| download | org.eclipse.oomph-36482b44ecdff2c63616555cb7990dad90b3033c.tar.gz org.eclipse.oomph-36482b44ecdff2c63616555cb7990dad90b3033c.tar.xz org.eclipse.oomph-36482b44ecdff2c63616555cb7990dad90b3033c.zip | |
[468070] Launch after install fails to launch successfully
https://bugs.eclipse.org/bugs/show_bug.cgi?id=468070
| -rw-r--r-- | plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/SimpleVariablePage.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/SimpleVariablePage.java b/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/SimpleVariablePage.java index eaae5088d..53838e631 100644 --- a/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/SimpleVariablePage.java +++ b/plugins/org.eclipse.oomph.setup.installer/src/org/eclipse/oomph/setup/internal/installer/SimpleVariablePage.java @@ -110,6 +110,8 @@ import java.util.Map; */ public class SimpleVariablePage extends SimpleInstallerPage { + private static final boolean EXIT_AFTER_LAUNCH = !PropertiesUtil.isProperty("oomph.no.exit.after.launch"); + private static final String SETUP_LOG_FILE = OS.INSTANCE.getEclipseDir() + "/configuration/org.eclipse.oomph.setup/setup.log"; private static final Preference PREF_INSTALL_ROOT = SetupInstallerPlugin.INSTANCE.getConfigurationPreference("installRoot"); @@ -937,7 +939,10 @@ public class SimpleVariablePage extends SimpleInstallerPage SetupInstallerPlugin.INSTANCE.log(ex); } - dialog.exitSelected(); + if (EXIT_AFTER_LAUNCH) + { + dialog.exitSelected(); + } } private void setFolderText(String dir) |
