view contrib/run.sh @ 30:88972c6daa4f

Added a cleanup thread which periodically removes outdated artifacts from database and calls there endOfLife() method. artifacts/trunk@70 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Sep 2009 23:16:18 +0000
parents 83a059c204f8
children 93edc04f3a10
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`
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
export CLASSPATH
java "$@"

http://dive4elements.wald.intevation.org