view bin/run.sh @ 128:0289069c3149 3.2.x

Simplify setting restlet version
author Tom Gottfried <tom@intevation.de>
date Tue, 17 Jan 2023 14:22:11 +0100
parents e602a29f1dcc
children
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" \
     org.dive4elements.artifacts.httpclient.ConsoleClient \
     2>&1 > /dev/null

http://dive4elements.wald.intevation.org