Updated classpath
[java-idp.git] / bin / SiteSigner
1 #!/bin/sh
2
3 #Where log4j config file is
4 LOG_CONFIG=../webApplication/WEB-INF/conf/log4j.properties
5
6 #Where to find jar files...
7 LIB=../webApplication/WEB-INF/lib
8 CP=$LIB/../classes:$LIB/bc-jce-jdk13-114.jar:$LIB/log4j-1.2.5.jar:$LIB/opensaml.jar:$LIB/xalan.jar:$LIB/xercesImpl.jar:$LIB/xml-apis.jar:$LIB/xmlParserAPIs.jar:$LIB/xmlsec.jar
9
10 #Where Registry directory is
11 REG_DIR=../webApplication
12
13 if [ -n JAVA_HOME ]
14         then
15                 $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
16         else
17                 echo "JAVA_HOME not set."
18 fi