ingo@0: #!/bin/bash ingo@0: ingo@0: DIR=`dirname $0`/.. ingo@0: DIR=`readlink -f "$DIR"` ingo@0: ingo@0: CLASSPATH= ingo@0: for l in `find "$DIR/target" -name \*.jar -print`; do ingo@0: CLASSPATH=$CLASSPATH:$l ingo@0: done ingo@0: ingo@0: export CLASSPATH ingo@0: ingo@0: exec java -Xmx256m \ ingo@0: -Djava.io.tmpdir="$DIR/cache" \ ingo@0: -Dconfig.dir="$DIR/conf" \ ingo@0: -Dconfig.file="demo-config.conf" \ tom@124: org.dive4elements.artifacts.httpclient.ConsoleClient \ ingo@0: 2>&1 > /dev/null