blob: fdeb22ea5c57ebca41bb4105377dee32b982a95a [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001#!/bin/bash
2JAVA_HOME=_JAVA_HOME_
3PATH=${PATH}:${JAVA_HOME}/bin
4ROOT_DIR=_ROOT_DIR_
5cd $ROOT_DIR
6
7if [ "$1" = "InnerConsistency" ]; then
8 CLS=com.att.authz.temp.InnerConsistency
9 shift
10else
11 CLS=com.att.authz.Batch
12fi
13
14CP=${ROOT_DIR}/etc
15for FILE in `ls $ROOT_DIR/lib/*.jar`; do
16 CP=$CP:$FILE
17done
18
19date
20$JAVA_HOME/bin/java -Xmx2048m -classpath $CP $CLS $*
21date