if [ -z $MANAGIX_HOME ] | |
then | |
echo "MANAGIX_HOME is not defined" | |
exit 1 | |
fi | |
VERSION=0.0.4-SNAPSHOT | |
for jar in `ls $MANAGIX_HOME/lib/*.jar` | |
do | |
if [ -z $MANAGIX_CLASSPATH ] | |
then | |
MANAGIX_CLASSPATH=$jar | |
else | |
MANAGIX_CLASSPATH=$MANAGIX_CLASSPATH:$jar | |
fi | |
done | |
MANAGIX_CLASSPATH=$MANAGIX_CLASSPATH:$MANAGIX_HOME/conf/log4j.properties | |
java $JAVA_OPTS -Dlog4j.configuration=file:$MANAGIX_HOME/conf/log4j.properties -cp $MANAGIX_CLASSPATH edu.uci.ics.asterix.installer.driver.InstallerDriver $@ |