view bin/run.sh @ 18:3dec58aa15ac

Prepared Changes for release 0.3 http-client/trunk@1958 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 19 May 2011 14:44:03 +0000
parents a1db30b33f43
children 7261c948425c
line wrap: on
line source
#!/bin/bash

DIR=`dirname $0`/..
DIR=`readlink -f "$DIR"`

CLASSPATH=
for l in `find "$DIR/target" -name \*.jar -print`; do
   CLASSPATH=$CLASSPATH:$l
done

export CLASSPATH

exec java -Xmx256m \
     -Djava.io.tmpdir="$DIR/cache" \
     -Dconfig.dir="$DIR/conf" \
     -Dconfig.file="demo-config.conf" \
     de.intevation.bsh.consoleclient.ConsoleClient \
     2>&1 > /dev/null

http://dive4elements.wald.intevation.org