aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-10-17 16:32:18 +0000
committerpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-10-17 16:32:18 +0000
commite36e20a829e95bdafff72f6727bd10f2bc8defe6 (patch)
tree58c42a31e495aff51553bdfb36bd3b3ae0ff25d6
parent83f01ddf24d98dbb5df41fb627a14edee2d57df7 (diff)
downloadmoa-id-spss-e36e20a829e95bdafff72f6727bd10f2bc8defe6.tar.gz
moa-id-spss-e36e20a829e95bdafff72f6727bd10f2bc8defe6.tar.bz2
moa-id-spss-e36e20a829e95bdafff72f6727bd10f2bc8defe6.zip
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
-rw-r--r--spss/server/tools/src/main/scripts/certtool.bat4
-rw-r--r--spss/server/tools/src/main/scripts/configtool.bat4
2 files changed, 4 insertions, 4 deletions
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