1 |
8480
|
tao
|
#!/bin/bash
|
2 |
|
|
#A mamanger script to help the Metacat administrator to manage the users and groups
|
3 |
|
|
#in the AuthFile mechanism.
|
4 |
|
|
|
5 |
|
|
#variables
|
6 |
|
|
BASE=../../../build/war
|
7 |
|
|
BASE_LIB=$BASE/lib
|
8 |
|
|
BASE_WEB_INF=$BASE/WEB-INF
|
9 |
|
|
METACAT=$BASE_LIB/metacat.jar
|
10 |
|
|
COMMONS_CONFIG=$BASE_LIB/commons-configuration-1.7.jar
|
11 |
|
|
COMMONS_LOG=$BASE_LIB/commons-logging-api-1.1.jar
|
12 |
|
|
COMMONS_LANG=$BASE_LIB/commons-lang-2.6.jar
|
13 |
|
|
COMMONS_COLLECTION=$BASE_LIB/commons-collections-3.2.jar
|
14 |
|
|
COMMONS_JXPATH=$BASE_LIB/commons-jxpath-1.3.jar
|
15 |
|
|
LOG4J=$BASE_LIB/log4j-1.2.16.jar
|
16 |
|
|
UTILITIES=$BASE_LIB/utilities.jar
|
17 |
|
|
D1_COMMON=$BASE_LIB/d1_common_java-1.1.3.jar
|
18 |
|
|
XALAN=$BASE_LIB/xalan-2.7.0.jar
|
19 |
|
|
JBCRYPT=$BASE_LIB/jbcrypt-0.3m.jar
|
20 |
|
|
|
21 |
|
|
#run the class
|
22 |
8483
|
tao
|
java -cp $METACAT:$XALAN:$COMMONS_CONFIG:$COMMONS_LOG:$COMMONS_LANG:$COMMONS_COLLECTION:$COMMONS_JXPATH:$LOG4J:$UTILITIES:$D1_COMMON:$JBCRYPT edu.ucsb.nceas.metacat.authentication.AuthFile $BASE_WEB_INF "$@"
|