mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Christophe Sovant
19.01.2013 373243c9fc463f70eada4024379b6da2c6d185c4
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).

1 files modified
2 ■■■ changed files
opends/resource/bin/_script-util.bat 2 ●●● patch | view | raw | blame | history
opends/resource/bin/_script-util.bat
@@ -61,7 +61,7 @@
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