| File was renamed from opends/src/quicksetup/org/opends/quicksetup/SetupLauncher.java |
| | |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.quicksetup; |
| | | package org.opends.quicksetup.installer; |
| | | |
| | | import java.io.ByteArrayOutputStream; |
| | | import java.io.PrintStream; |
| | | import java.util.ArrayList; |
| | | |
| | | import org.opends.quicksetup.SplashScreen; |
| | | import org.opends.quicksetup.i18n.ResourceProvider; |
| | | import org.opends.quicksetup.installer.offline.OfflineInstaller; |
| | | import org.opends.quicksetup.util.Utils; |
| | | |
| | | /** |
| | |
| | | * based setup much be launched. |
| | | * |
| | | */ |
| | | public class SetupLauncher |
| | | public class InstallLauncher |
| | | { |
| | | private static String COMMAND_NAME_WINDOWS = "setup.bat"; |
| | | |
| | |
| | | */ |
| | | private static int launchCliSetup(String[] args) |
| | | { |
| | | System.setProperty("org.opends.quicksetup.cli", "true"); |
| | | |
| | | if (Utils.isWindows()) |
| | | { |
| | | System.setProperty("org.opends.server.scriptName", |
| | |
| | | newArgList.add("--configClass"); |
| | | newArgList.add("org.opends.server.extensions.ConfigFileHandler"); |
| | | newArgList.add("--configFile"); |
| | | newArgList.add(OfflineInstaller.CONFIG_FILE_NAME); |
| | | newArgList.add(Utils.getConfigFileFromClasspath()); |
| | | |
| | | String[] newArgs = new String[newArgList.size()]; |
| | | newArgList.toArray(newArgs); |