From ad045ba9e4d87449a7d1af1f4ba3db5e1951c6fa Mon Sep 17 00:00:00 2001 From: jvergara <jvergara@localhost> Date: Wed, 19 Sep 2007 14:40:07 +0000 Subject: [PATCH] After some discussions it has been decided to merge the setup and uninstall commands so that we have the behavior that we had before. So with this changes, in order to work in CLI mode the option --cli must be specified. --- opendj-sdk/opends/resource/setup.bat | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/opendj-sdk/opends/resource/setup.bat b/opendj-sdk/opends/resource/setup.bat index 53c601b..27a6ee5 100644 --- a/opendj-sdk/opends/resource/setup.bat +++ b/opendj-sdk/opends/resource/setup.bat @@ -84,7 +84,15 @@ "%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1 if not %errorlevel% == 0 goto noValidJavaHome -"%JAVA_BIN%" %JAVA_ARGS% -Dorg.opends.server.scriptName=setup.bat org.opends.server.tools.InstallDS %* +if "%~1" == "" goto callLaunch +goto callJava + +:callLaunch +"%DIR_HOME%\lib\winlauncher.exe" launch "%JAVA_BIN%" %JAVA_ARGS% org.opends.quicksetup.installer.SetupLauncher +goto end + +:callJava +"%JAVA_BIN%" %JAVA_ARGS% org.opends.quicksetup.installer.SetupLauncher %* rem return part if %errorlevel% == 50 goto version -- Gitblit v1.10.0