From e36e20a829e95bdafff72f6727bd10f2bc8defe6 Mon Sep 17 00:00:00 2001 From: pdanner Date: Wed, 17 Oct 2007 16:32:18 +0000 Subject: Solved a windows path problem, for the case that JAVA_HOME contains spaces git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1015 d688527b-c9ab-4aba-bd8d-4036d912da1d --- spss/server/tools/src/main/scripts/certtool.bat | 4 ++-- spss/server/tools/src/main/scripts/configtool.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'spss/server/tools/src/main') diff --git a/spss/server/tools/src/main/scripts/certtool.bat b/spss/server/tools/src/main/scripts/certtool.bat index d463a8d9d..ae55bc4a5 100644 --- a/spss/server/tools/src/main/scripts/certtool.bat +++ b/spss/server/tools/src/main/scripts/certtool.bat @@ -15,11 +15,11 @@ set TOOLSPATH=%~p0 set CLASSPATH=%TOOLSPATH%tools.jar;%TOOLSPATH%iaik_moa.jar;%TOOLSPATH%iaik_jce_full.jar;%TOOLSPATH%iaik_ecc.jar;%TOOLSPATH%log4j.jar if "%JAVA_HOME%"=="" goto noJavaHome -"%JAVA_HOME%\bin\java.exe" -classpath %CLASSPATH% %CERTTOOL% %1 %2 %3 %4 %5 %6 %7 %8 %9 +%JAVA_HOME%\bin\java.exe -classpath %CLASSPATH% %CERTTOOL% %1 %2 %3 %4 %5 %6 %7 %8 %9 goto end :noJavaHome echo error: JAVA_HOME not defined :end -if %OS%=="Windows_NT" @endlocal +if %OS%=="Windows_NT" @endlocal \ No newline at end of file diff --git a/spss/server/tools/src/main/scripts/configtool.bat b/spss/server/tools/src/main/scripts/configtool.bat index 330a94d83..868df11f0 100644 --- a/spss/server/tools/src/main/scripts/configtool.bat +++ b/spss/server/tools/src/main/scripts/configtool.bat @@ -15,11 +15,11 @@ set TOOLSPATH=%~p0 set CLASSPATH=%TOOLSPATH%tools.jar;%TOOLSPATH%xalan.jar; if "%JAVA_HOME%"=="" goto noJavaHome -"%JAVA_HOME%\bin\java.exe" -classpath %CLASSPATH% %CONFIGTOOL% %1 %2 %3 %4 %5 %6 %7 %8 %9 +%JAVA_HOME%\bin\java.exe -classpath %CLASSPATH% %CONFIGTOOL% %1 %2 %3 %4 %5 %6 %7 %8 %9 goto end :noJavaHome echo error: JAVA_HOME not defined :end -if %OS%=="Windows_NT" @endlocal +if %OS%=="Windows_NT" @endlocal \ No newline at end of file -- cgit v1.2.3