| | |
| | | import org.opends.quicksetup.Launcher; |
| | | import org.opends.quicksetup.CliApplication; |
| | | import org.opends.quicksetup.Installation; |
| | | import org.opends.quicksetup.QuickSetupCli; |
| | | import org.opends.quicksetup.QuickSetupLog; |
| | | import org.opends.quicksetup.util.Utils; |
| | | import org.opends.server.util.ServerConstants; |
| | |
| | | System.err.println("Unable to initialize log"); |
| | | t.printStackTrace(); |
| | | } |
| | | Launcher launcher = new InstallLauncher(args); |
| | | int returnCode = launcher.launch(); |
| | | if (returnCode == QuickSetupCli.VERSION_PRINT) |
| | | { |
| | | System.exit(QuickSetupCli.SUCCESSFUL); |
| | | } |
| | | else |
| | | { |
| | | System.exit(returnCode); |
| | | } |
| | | new InstallLauncher(args).launch(); |
| | | } |
| | | |
| | | /** |