Initial shell script
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 8 Jul 2002 21:54:14 +0000 (21:54 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 8 Jul 2002 21:54:14 +0000 (21:54 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@215 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

bin/SiteSigner [new file with mode: 0755]

diff --git a/bin/SiteSigner b/bin/SiteSigner
new file mode 100755 (executable)
index 0000000..782d231
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+#Where log4j config file is
+LOG_CONFIG=../webApplication/WEB-INF/conf/log4j.properties
+
+#Where to find jar files...
+LIB=../webApplication/WEB-INF/lib
+CP=$LIB/../classes:$LIB/bc-jce-jdk13-112.jar:$LIB/log4j-1.2.3.jar:$LIB/opensaml.jar:$LIB/xalan.jar:$LIB/xercesImpl.jar:$LIB/xml-apis.jar:$LIB/xmlParserAPIs.jar:$LIB/xmlsec.jar
+
+#Where Registry directory is
+REG_DIR=../webApplication
+
+if [ -n JAVA_HOME ]
+       then
+               $JAVA_HOME/bin/java -Dlog.config=$LOG_CONFIG -cp $CP edu.internet2.middleware.shibboleth.common.SiteSigner -o $REG_DIR/sites.xml $@ $REG_DIR/sites_unsigned.xml
+       else
+               echo "JAVA_HOME not set."
+fi