OPENDJ-842 (CR-1699) On Windows, the setup command hangs when the length of the install path is too long
resource/bin/_script-util.bat
Fixed the classpath on Windows (removed double quotes on bootstrap.jar).
| | |
| | | rem it also helps comparing the two paths |
| | | FOR /F %%i IN ("%INSTALL_ROOT%") DO set INSTALL_ROOT=%%~dpnxi |
| | | FOR /F %%i IN ("%INSTANCE_ROOT%") DO set INSTANCE_ROOT=%%~dpnxi |
| | | call "%INSTALL_ROOT%\lib\setcp.bat" "%INSTALL_ROOT%\lib\bootstrap.jar" |
| | | call "%INSTALL_ROOT%\lib\setcp.bat" %INSTALL_ROOT%\lib\bootstrap.jar |
| | | FOR %%x in ("%INSTALL_ROOT%\resources\*.jar") DO call "%INSTALL_ROOT%\lib\setcp.bat" %%x |
| | | set CLASSPATH=%INSTANCE_ROOT%\classes;%CLASSPATH% |
| | | if "%INSTALL_ROOT%" == "%INSTANCE_ROOT%" goto setClassPathDone |