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