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