sascha@19: #!/bin/bash ingo@100: ingo@100: # Copyright (c) 2010 by Intevation GmbH ingo@100: # ingo@100: # This program is free software under the LGPL (>=v2.1) ingo@100: # Read the file LGPL.txt coming with the software for details ingo@100: # or visit http://www.gnu.org/licenses/ if it does not exist. ingo@100: sascha@48: RESTLET_CORE=`find -L ~/.m2 -name org\.restlet-\*SNAP\*.jar` sascha@48: RESTLET_XML=`find -L ~/.m2 -name org\.restlet.ext.xml-\*SNAP\*.jar` sascha@20: H2=`find -L ~/.m2 -name h2-\*.jar` sascha@20: LOG4J=`find -L ~/.m2 -name log4j-1.2.13\*.jar` sascha@26: DBCP=`find -L ~/.m2 -name commons-dbcp-\*.jar` sascha@30: POOL=`find -L ~/.m2 -name commons-pool-*.jar | head -1` sascha@38: POSTGRES=`find -L ~/.m2 -name postgresql-8.3\*.jar` sascha@19: DIR=`dirname $0`/.. sascha@20: CLASSPATH=$DIR/artifact-database/target/classes sascha@20: CLASSPATH=$CLASSPATH:$DIR/artifacts/target/classes sascha@20: CLASSPATH=$CLASSPATH:$RESTLET_CORE:$RESTLET_XML sascha@38: CLASSPATH=$CLASSPATH:$LOG4J:$H2:$DBCP:$POOL:$POSTGRES sascha@20: export CLASSPATH sascha@19: java "$@"