aboutsummaryrefslogtreecommitdiff
path: root/spss/server/tools/src/main/scripts/configtool.sh
diff options
context:
space:
mode:
authorpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-09-11 10:24:18 +0000
committerpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-09-11 10:24:18 +0000
commit072f482d381f6cc00c336e3f633c975eae3aef37 (patch)
treeeec19a9a3b3f2c901c99af5ff5b409a092ed9657 /spss/server/tools/src/main/scripts/configtool.sh
parentb33fd8084f4ea1562c9056422ebc111b4a92f2a6 (diff)
downloadmoa-id-spss-072f482d381f6cc00c336e3f633c975eae3aef37.tar.gz
moa-id-spss-072f482d381f6cc00c336e3f633c975eae3aef37.tar.bz2
moa-id-spss-072f482d381f6cc00c336e3f633c975eae3aef37.zip
fixed build process for spss tools
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1004 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss/server/tools/src/main/scripts/configtool.sh')
-rw-r--r--spss/server/tools/src/main/scripts/configtool.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/spss/server/tools/src/main/scripts/configtool.sh b/spss/server/tools/src/main/scripts/configtool.sh
new file mode 100644
index 000000000..f7f29bae1
--- /dev/null
+++ b/spss/server/tools/src/main/scripts/configtool.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+#
+# Script to invoke the ConfigTool class
+#
+# Author: Gregor Karlinger
+# Version: $Id: $
+#
+
+
+if [ -z "$JAVA_HOME" ]; then
+ echo "error: JAVA_HOME not defined";
+ exit;
+fi
+
+CONFIGTOOL=at.gv.egovernment.moa.spss.server.tools.ConfigTool
+TOOLSPATH=`dirname $PWD/$0`
+CLASSPATH=$TOOLSPATH/tools.jar:$TOOLSPATH/xalan.jar
+
+$JAVA_HOME/bin/java -classpath $CLASSPATH $CONFIGTOOL $*