aboutsummaryrefslogtreecommitdiff
path: root/spss/server/tools/run/certtool.sh
diff options
context:
space:
mode:
authorpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-09-10 18:08:08 +0000
committerpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-09-10 18:08:08 +0000
commitb33fd8084f4ea1562c9056422ebc111b4a92f2a6 (patch)
tree795db0d74ed1f3cd555951860f478a6c6592cc8d /spss/server/tools/run/certtool.sh
parent4e12d1df5daab1f7600fa3a58e6fc535375224ff (diff)
downloadmoa-id-spss-b33fd8084f4ea1562c9056422ebc111b4a92f2a6.tar.gz
moa-id-spss-b33fd8084f4ea1562c9056422ebc111b4a92f2a6.tar.bz2
moa-id-spss-b33fd8084f4ea1562c9056422ebc111b4a92f2a6.zip
moved test classes, fixed spss-tools build
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1003 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss/server/tools/run/certtool.sh')
-rw-r--r--spss/server/tools/run/certtool.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/spss/server/tools/run/certtool.sh b/spss/server/tools/run/certtool.sh
new file mode 100644
index 000000000..721eff4d8
--- /dev/null
+++ b/spss/server/tools/run/certtool.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+#
+# Script to invoke the CertTool class
+#
+# Author:Patrick Peck
+# Version: $Id: certtool.sh,v 1.9 2003/06/23 16:01:27 peck Exp $
+#
+
+
+if [ -z "$JAVA_HOME" ]; then
+ echo "error: JAVA_HOME not defined";
+ exit;
+fi
+
+CERTOOL=at.gv.egovernment.moa.spss.server.tools.CertTool
+TOOLSPATH=`dirname $PWD/$0`
+CLASSPATH=$TOOLSPATH/tools.jar:$TOOLSPATH/iaik_moa.jar:$TOOLSPATH/iaik_jce_full.jar:$TOOLSPATH/iaik_ecc.jar:$TOOLSPATH/log4j.jar
+
+$JAVA_HOME/bin/java -classpath $CLASSPATH $CERTOOL $*