blob: 3d2ac10af2401ee7b159d0bffd4214f073ca781c [file] [log] [blame]
if [ -z $MANAGIX_HOME ]
then
echo "MANAGIX_HOME is not defined"
exit 1
fi
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 $@