diff bin/run.sh @ 0:a1db30b33f43

Moved the experimental branch 'work-on-gwt' of the console-client to an own module 'http-client' and removed the console-client. http-client/trunk@1323 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Feb 2011 10:31:40 +0000
parents
children 7261c948425c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/run.sh	Thu Feb 17 10:31:40 2011 +0000
@@ -0,0 +1,18 @@
+#!/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