Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (13 sloc) 377 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
LIBS=$(echo $LIBS lib/*.jar | tr ' ' ':')
LOG=$(echo lib/slf4j/slf4j-$LOGGING*.jar)
CLASSPATH=.:bin:src:$LIBS:$LOG
exec java -Dlog4j.configuration=log4j.properties -cp $CLASSPATH $MAIN $*