| | |
| | | |
| | | setlocal |
| | | |
| | | set DIR_HOME=%~dP0.. |
| | | |
| | | if "%JAVA_BIN%" == "" goto noJavaBin |
| | | goto setClassPath |
| | | |
| | | :noJavaBin |
| | | if "%JAVA_HOME%" == "" goto noJavaHome |
| | | if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome |
| | | set JAVA_BIN="%JAVA_HOME%\bin\java.exe" |
| | | goto setClassPath |
| | | |
| | | :noJavaHome |
| | | echo Error: JAVA_HOME environment variable is not set. |
| | | echo Please set it to a valid Java 5 installation. |
| | | goto end |
| | | |
| | | |
| | | :setClassPath |
| | | FOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\bin\setcp.bat" %%x |
| | | |
| | | %JAVA_BIN% %JAVA_ARGS% -classpath "%CLASSPATH%" org.opends.server.tools.LDAPPasswordModify %* |
| | | |
| | | |
| | | :end |
| | | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPPasswordModify" |
| | | call %~dP0\_client-script.bat %* |
| | | |