Added schema validation to tests.
[java-idp.git] / bin / SiteSigner
1 #!/bin/sh
2
3 TOMCAT_HOME=/usr/local/tomcat
4
5 #Where log4j config file is
6 LOG_CONFIG=$TOMCAT_HOME/webapps/shibboleth/WEB-INF/conf/log4j.properties
7
8 #Where to find jar files...
9 LIB=$TOMCAT_HOME/webapps/shibboleth/WEB-INF/lib
10 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
11
12 #Where Registry directory is
13 REG_DIR=$TOMCAT_HOME/webapps/shibboleth
14
15 if [ -n JAVA_HOME ]
16         then
17                 $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
18         else
19                 echo "JAVA_HOME not set."
20 fi