| opends/resource/setup | ●●●●● patch | view | raw | blame | history | |
| opends/resource/setup.bat | ●●●●● patch | view | raw | blame | history | |
| opends/resource/uninstall | ●●●●● patch | view | raw | blame | history | |
| opends/resource/uninstall.bat | ●●●●● patch | view | raw | blame | history | |
| opends/resource/upgrade | ●●●●● patch | view | raw | blame | history | |
| opends/resource/upgrade.bat | ●●●●● patch | view | raw | blame | history |
opends/resource/setup
@@ -43,7 +43,7 @@ then export JAVA_BIN else echo "Please set JAVA_HOME to the root of a Java 5.0 installation." echo "Please set JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi @@ -102,7 +102,7 @@ if test ${?} -ne 0 then echo "ERROR: The detected Java version could not be used. Please set " echo " JAVA_HOME to the root of a Java 5.0 installation." echo " JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi @@ -111,7 +111,7 @@ if test ${?} -ne 0 then echo "ERROR: The detected Java version could not be used. Please set " echo " JAVA_HOME to the root of a Java 5.0 installation." echo " JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi opends/resource/setup.bat
@@ -48,15 +48,23 @@ :noSetJavaHome echo Error: JAVA_HOME environment variable is not set. echo Please set it to a valid Java 5 installation. echo Please set it to a valid Java 5 (or later) installation. goto end :noValidJavaHome echo ERROR: The detected Java version could not be used. Please set echo JAVA_HOME to to a valid Java 5 (or later) installation. goto end :setClassPath FOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\bat\setcp.bat" %%x set PATH=%SystemRoot% rem Test that the provided JDK is 1.5 compatible. "%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1 if not %errorlevel% == 0 goto noValidJavaHome if "%*" == "" goto callLaunch goto callJava opends/resource/uninstall
@@ -43,7 +43,7 @@ then export JAVA_BIN else echo "Please set JAVA_HOME to the root of a Java 5.0 installation." echo "Please set JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi @@ -101,7 +101,7 @@ if test ${?} -ne 0 then echo "ERROR: The detected Java version could not be used. Please set " echo " JAVA_HOME to the root of a Java 5.0 installation." echo " JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi @@ -110,7 +110,7 @@ if test ${?} -ne 0 then echo "ERROR: The detected Java version could not be used. Please set " echo " JAVA_HOME to the root of a Java 5.0 installation." echo " JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi opends/resource/uninstall.bat
@@ -48,7 +48,12 @@ :noSetJavaHome echo Error: JAVA_HOME environment variable is not set. echo Please set it to a valid Java 5 installation. echo Please set it to a valid Java 5 (or later) installation. goto end :noValidJavaHome echo ERROR: The detected Java version could not be used. Please set echo JAVA_HOME to to a valid Java 5 (or later) installation. goto end :setClassPath @@ -56,6 +61,10 @@ set PATH=%SystemRoot% rem Test that the provided JDK is 1.5 compatible. "%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1 if not %errorlevel% == 0 goto noValidJavaHome if "%*" == "" goto callLaunch goto callJava opends/resource/upgrade
@@ -47,7 +47,7 @@ export JAVA_BIN export JAVAWS_BIN else echo "Please set JAVA_HOME to the root of a Java 5.0 installation." echo "Please set JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi @@ -111,7 +111,7 @@ if test ${?} -ne 0 then echo "ERROR: The detected Java version could not be used. Please set " echo " JAVA_HOME to the root of a Java 5.0 installation." echo " JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi @@ -120,7 +120,7 @@ if test ${?} -ne 0 then echo "ERROR: The detected Java version could not be used. Please set " echo " JAVA_HOME to the root of a Java 5.0 installation." echo " JAVA_HOME to the root of a Java 5 (or later) installation." exit 1 fi fi opends/resource/upgrade.bat
@@ -53,13 +53,23 @@ :noSetJavaHome echo Error: JAVA_HOME environment variable is not set. echo Please set it to a valid Java 5 installation. echo Please set it to a valid Java 5 (or later) installation. goto end :noValidJavaHome echo ERROR: The detected Java version could not be used. Please set echo JAVA_HOME to to a valid Java 5 (or later) installation. goto end set PATH=%SystemRoot% rem Test that the provided JDK is 1.5 compatible. "%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1 if not %errorlevel% == 0 goto noValidJavaHome if "%*" == "" goto callWebStartUpgrade :callExtractor if EXIST .\tmp\upgrade rd .\tmp\upgrade /s /q set CLASSPATH=""