view bin/run.sh @ 124:7261c948425c 3.2.x

Rely on log4j's default initialization procedure This should make upgrading to Log4j 2.x easier. In passing, use latest Log4j 1.
author Tom Gottfried <tom@intevation.de>
date Fri, 25 Feb 2022 15:15:04 +0100
parents a1db30b33f43
children e602a29f1dcc
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" \
     -Dlog4j.configuration="file://$DIR/conf/log4j.properties" \
     org.dive4elements.artifacts.httpclient.ConsoleClient \
     2>&1 > /dev/null

http://dive4elements.wald.intevation.org