diff contrib/run.sh @ 26:83a059c204f8

Connected /create with artifact db. artifacts/trunk@61 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Sep 2009 12:29:57 +0000
parents ff666592c1c3
children 88972c6daa4f
line wrap: on
line diff
--- a/contrib/run.sh	Thu Sep 10 09:23:53 2009 +0000
+++ b/contrib/run.sh	Thu Sep 10 12:29:57 2009 +0000
@@ -3,13 +3,12 @@
 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`
-echo $RESTLET
-echo $LOG4J
-echo $H2
+DBCP=`find -L ~/.m2 -name commons-dbcp-\*.jar`
+POOL=`find -L ~/.m2 -name commons-pool-1.5\*.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
+CLASSPATH=$CLASSPATH:$LOG4J:$H2:$DBCP:$POOL
 export CLASSPATH
 java "$@"

http://dive4elements.wald.intevation.org