diff options
author | mcentner <mcentner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-08-23 12:34:34 +0000 |
---|---|---|
committer | mcentner <mcentner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-08-23 12:34:34 +0000 |
commit | 68dfe343fc6f40525abbbfafa011f44170024635 (patch) | |
tree | ec750c07cec5f7c54af309cdd7d803dcd052d65b /spss/server/tools/src/main/resources/tools/configtool.bat | |
parent | 0d35525edd2f73ba138a60aad10c0fad2d1e31ed (diff) | |
download | moa-id-spss-68dfe343fc6f40525abbbfafa011f44170024635.tar.gz moa-id-spss-68dfe343fc6f40525abbbfafa011f44170024635.tar.bz2 moa-id-spss-68dfe343fc6f40525abbbfafa011f44170024635.zip |
Fixed classpath in spss/server/tools shell scripts.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@943 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss/server/tools/src/main/resources/tools/configtool.bat')
-rw-r--r-- | spss/server/tools/src/main/resources/tools/configtool.bat | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spss/server/tools/src/main/resources/tools/configtool.bat b/spss/server/tools/src/main/resources/tools/configtool.bat new file mode 100644 index 000000000..868df11f0 --- /dev/null +++ b/spss/server/tools/src/main/resources/tools/configtool.bat @@ -0,0 +1,25 @@ +@echo off
+
+rem
+rem Script to invoke the ConfigTool class
+rem
+rem Author: Gregor Karlinger
+rem Version: $Id: $
+rem
+
+
+if %OS%=="Windows_NT" @setlocal
+
+set CONFIGTOOL=at.gv.egovernment.moa.spss.server.tools.ConfigTool
+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
+goto end
+
+:noJavaHome
+echo error: JAVA_HOME not defined
+
+:end
+if %OS%=="Windows_NT" @endlocal
\ No newline at end of file |