view contrib/run.sh @ 45:9449f296cd54

Fixed inconsistencies in documentation after changes in h2-config artifacts/trunk@162 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Hans Plum <hans.plum@intevation.de>
date Wed, 30 Sep 2009 10:32:45 +0000
parents 93edc04f3a10
children 41c225c8bd41
line wrap: on
line source
#!/bin/bash
RESTLET_CORE=`find -L ~/.m2 -name org\.restlet-\*M\*.jar`
RESTLET_XML=`find -L ~/.m2 -name org\.restlet.ext.xml-\*M\*.jar`
H2=`find -L ~/.m2 -name h2-\*.jar`
LOG4J=`find -L ~/.m2 -name log4j-1.2.13\*.jar`
DBCP=`find -L ~/.m2 -name commons-dbcp-\*.jar`
POOL=`find -L ~/.m2 -name commons-pool-*.jar | head -1`
POSTGRES=`find -L ~/.m2 -name postgresql-8.3\*.jar`
DIR=`dirname $0`/..
CLASSPATH=$DIR/artifact-database/target/classes
CLASSPATH=$CLASSPATH:$DIR/artifacts/target/classes
CLASSPATH=$CLASSPATH:$RESTLET_CORE:$RESTLET_XML
CLASSPATH=$CLASSPATH:$LOG4J:$H2:$DBCP:$POOL:$POSTGRES
export CLASSPATH
java "$@"

http://dive4elements.wald.intevation.org