comparison contrib/run.sh @ 38:93edc04f3a10

Added postgresql support. artifacts/trunk@104 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 18 Sep 2009 09:34:14 +0000
parents 88972c6daa4f
children 41c225c8bd41
comparison
equal deleted inserted replaced
37:3f03aee55c2f 38:93edc04f3a10
3 RESTLET_XML=`find -L ~/.m2 -name org\.restlet.ext.xml-\*M\*.jar` 3 RESTLET_XML=`find -L ~/.m2 -name org\.restlet.ext.xml-\*M\*.jar`
4 H2=`find -L ~/.m2 -name h2-\*.jar` 4 H2=`find -L ~/.m2 -name h2-\*.jar`
5 LOG4J=`find -L ~/.m2 -name log4j-1.2.13\*.jar` 5 LOG4J=`find -L ~/.m2 -name log4j-1.2.13\*.jar`
6 DBCP=`find -L ~/.m2 -name commons-dbcp-\*.jar` 6 DBCP=`find -L ~/.m2 -name commons-dbcp-\*.jar`
7 POOL=`find -L ~/.m2 -name commons-pool-*.jar | head -1` 7 POOL=`find -L ~/.m2 -name commons-pool-*.jar | head -1`
8 POSTGRES=`find -L ~/.m2 -name postgresql-8.3\*.jar`
8 DIR=`dirname $0`/.. 9 DIR=`dirname $0`/..
9 CLASSPATH=$DIR/artifact-database/target/classes 10 CLASSPATH=$DIR/artifact-database/target/classes
10 CLASSPATH=$CLASSPATH:$DIR/artifacts/target/classes 11 CLASSPATH=$CLASSPATH:$DIR/artifacts/target/classes
11 CLASSPATH=$CLASSPATH:$RESTLET_CORE:$RESTLET_XML 12 CLASSPATH=$CLASSPATH:$RESTLET_CORE:$RESTLET_XML
12 CLASSPATH=$CLASSPATH:$LOG4J:$H2:$DBCP:$POOL 13 CLASSPATH=$CLASSPATH:$LOG4J:$H2:$DBCP:$POOL:$POSTGRES
13 export CLASSPATH 14 export CLASSPATH
14 java "$@" 15 java "$@"

http://dive4elements.wald.intevation.org