Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (15 sloc) 400 Bytes
#!/bin/sh
# runs the specified main method with class-path and configuration file
# set up
if [ -z $MAIN ]; then
MAIN=hub.AwarenessHub
fi
if [ -z $LOGGING ]; then
LOGGING=log4j
fi
if [ -z $JAR ]; then
JAR=mate-single.jar
fi
LIBS=$(echo $LIBS lib/*.jar | tr ' ' ':')
LOG=$(echo lib/slf4j/slf4j-$LOGGING*.jar)
exec java -Dlog4j.configuration=log4j.properties -cp .:$LIBS:$LOG:$JAR $MAIN $*
Jump to Line
Something went wrong with that request. Please try again.