comparison 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
comparison
equal deleted inserted replaced
25:ccc6aae25585 26:83a059c204f8
1 #!/bin/bash 1 #!/bin/bash
2 RESTLET_CORE=`find -L ~/.m2 -name org\.restlet-\*M\*.jar` 2 RESTLET_CORE=`find -L ~/.m2 -name org\.restlet-\*M\*.jar`
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 echo $RESTLET 6 DBCP=`find -L ~/.m2 -name commons-dbcp-\*.jar`
7 echo $LOG4J 7 POOL=`find -L ~/.m2 -name commons-pool-1.5\*.jar`
8 echo $H2
9 DIR=`dirname $0`/.. 8 DIR=`dirname $0`/..
10 CLASSPATH=$DIR/artifact-database/target/classes 9 CLASSPATH=$DIR/artifact-database/target/classes
11 CLASSPATH=$CLASSPATH:$DIR/artifacts/target/classes 10 CLASSPATH=$CLASSPATH:$DIR/artifacts/target/classes
12 CLASSPATH=$CLASSPATH:$RESTLET_CORE:$RESTLET_XML 11 CLASSPATH=$CLASSPATH:$RESTLET_CORE:$RESTLET_XML
13 CLASSPATH=$CLASSPATH:$LOG4J:$H2 12 CLASSPATH=$CLASSPATH:$LOG4J:$H2:$DBCP:$POOL
14 export CLASSPATH 13 export CLASSPATH
15 java "$@" 14 java "$@"

http://dive4elements.wald.intevation.org