#!/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