ingo@261: #!/bin/bash ingo@261: ingo@1115: # Copyright (c) 2010 by Intevation GmbH\ ingo@1115: # ingo@1115: # This program is free software under the LGPL (>=v2.1)\ ingo@1115: # Read the file LGPL.txt coming with the software for details\ ingo@1115: # or visit http://www.gnu.org/licenses/ if it does not exist.\ ingo@1115: ingo@261: DIR=`dirname $0`/.. ingo@261: CLASSPATH= ingo@261: for l in `find -name \*.jar -print`; do ingo@261: CLASSPATH=$CLASSPATH:$l ingo@261: done ingo@261: ingo@261: export CLASSPATH ingo@261: ingo@261: exec java -Xmx256m \ ingo@261: -server \ ingo@261: -Djava.io.tmpdir=/tmp/ \ ingo@261: -Dartifact.database.dir="$DIR/conf" \ ingo@261: de.intevation.artifactdatabase.App \ ingo@261: 2>&1 > /dev/null