tom@8511: #!/bin/bash tom@8511: tom@8511: APP=org.dive4elements.artifactdatabase.App tom@8511: tom@8511: DIR=`dirname $0`/.. tom@8511: DIR=`readlink -f "$DIR"` tom@8511: tom@8511: CLASSPATH= tom@8511: for l in `find "$DIR/bin/lib" -name \*.jar -print`; do tom@8511: CLASSPATH=$CLASSPATH:$l tom@8511: done tom@8511: tom@8511: export CLASSPATH tom@8511: tom@8511: exec java -Xmx1024m \ tom@8511: -server \ tom@8511: -Djava.awt.headless=true \ tom@8511: -Dflys.datacage.recommendations.development=false \ tom@8511: -Djava.io.tmpdir="$DIR/cache" \ tom@8511: -Dflys.uesk.keep.artifactsdir=false \ tom@8511: -Dwsplgen.bin.path="$DIR/bin/wsplgen" \ tom@8511: -Dwsplgen.log.output=false \ tom@8511: -Dartifact.database.dir="$DIR/conf" \ tom@8511: $APP