Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/bin/run.sh @ 1119:7c4f81f74c47
merged gnv-artifacts
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:00 +0200 |
parents | f953c9a559d8 |
children |
comparison
equal
deleted
inserted
replaced
1027:fca4b5eb8d2f | 1119:7c4f81f74c47 |
---|---|
1 #!/bin/bash | |
2 | |
3 # Copyright (c) 2010 by Intevation GmbH\ | |
4 # | |
5 # This program is free software under the LGPL (>=v2.1)\ | |
6 # Read the file LGPL.txt coming with the software for details\ | |
7 # or visit http://www.gnu.org/licenses/ if it does not exist.\ | |
8 | |
9 DIR=`dirname $0`/.. | |
10 CLASSPATH= | |
11 for l in `find -name \*.jar -print`; do | |
12 CLASSPATH=$CLASSPATH:$l | |
13 done | |
14 | |
15 export CLASSPATH | |
16 | |
17 exec java -Xmx256m \ | |
18 -server \ | |
19 -Djava.io.tmpdir=/tmp/ \ | |
20 -Dartifact.database.dir="$DIR/conf" \ | |
21 de.intevation.artifactdatabase.App \ | |
22 2>&1 > /dev/null |