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 |
8490
|
tao
|
#BASE=../../../build/war
|
7 |
|
|
#BASE_LIB=$BASE/lib
|
8 |
|
|
BASE=../../../
|
9 |
|
|
BASE_LIB=$BASE/WEB-INF/lib
|
10 |
8480
|
tao
|
BASE_WEB_INF=$BASE/WEB-INF
|
11 |
|
|
METACAT=$BASE_LIB/metacat.jar
|
12 |
|
|
COMMONS_CONFIG=$BASE_LIB/commons-configuration-1.7.jar
|
13 |
|
|
COMMONS_LOG=$BASE_LIB/commons-logging-api-1.1.jar
|
14 |
|
|
COMMONS_LANG=$BASE_LIB/commons-lang-2.6.jar
|
15 |
|
|
COMMONS_COLLECTION=$BASE_LIB/commons-collections-3.2.jar
|
16 |
|
|
COMMONS_JXPATH=$BASE_LIB/commons-jxpath-1.3.jar
|
17 |
|
|
LOG4J=$BASE_LIB/log4j-1.2.16.jar
|
18 |
|
|
UTILITIES=$BASE_LIB/utilities.jar
|
19 |
|
|
D1_COMMON=$BASE_LIB/d1_common_java-1.1.3.jar
|
20 |
|
|
XALAN=$BASE_LIB/xalan-2.7.0.jar
|
21 |
|
|
JBCRYPT=$BASE_LIB/jbcrypt-0.3m.jar
|
22 |
|
|
|
23 |
|
|
#run the class
|
24 |
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 "$@"
|