view contrib/run.sh @ 422:a8b6b4924f4e 2.9

Merged revisions 5376,5383 via svnmerge from file:///home/clients/bsh/bsh-generischer-viewer/Material/SVN/artifacts/trunk ........ r5376 | ingo | 2012-09-07 11:28:43 +0200 (Fr, 07 Sep 2012) | 1 line Tagged 'artifacts' as 2.9 ........ r5383 | bricks | 2012-09-07 15:01:43 +0200 (Fr, 07 Sep 2012) | 2 lines Fix queries for finding a user ........ artifacts/tags/2.9@5386 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 07 Sep 2012 13:09:11 +0000
parents 933bbc9fc11f
children
line wrap: on
line source
#!/bin/bash

# Copyright (c) 2010 by Intevation GmbH
#
# This program is free software under the LGPL (>=v2.1)
# Read the file LGPL.txt coming with the software for details
# or visit http://www.gnu.org/licenses/ if it does not exist.

RESTLET_CORE=`find -L ~/.m2 -name org\.restlet-\*SNAP\*.jar`
RESTLET_XML=`find -L ~/.m2 -name org\.restlet.ext.xml-\*SNAP\*.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`
POSTGRES=`find -L ~/.m2 -name postgresql-8.3\*.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:$DBCP:$POOL:$POSTGRES
export CLASSPATH
java "$@"

http://dive4elements.wald.intevation.org