Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/bin/run.sh @ 1129:ccfa07b88476
merged geo-backend
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:01 +0200 |
parents | f953c9a559d8 |
children |
rev | line source |
---|---|
261
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 #!/bin/bash |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 |
1115
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
261
diff
changeset
|
3 # Copyright (c) 2010 by Intevation GmbH\ |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
261
diff
changeset
|
4 # |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
261
diff
changeset
|
5 # This program is free software under the LGPL (>=v2.1)\ |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
261
diff
changeset
|
6 # Read the file LGPL.txt coming with the software for details\ |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
261
diff
changeset
|
7 # or visit http://www.gnu.org/licenses/ if it does not exist.\ |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
261
diff
changeset
|
8 |
261
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
9 DIR=`dirname $0`/.. |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
10 CLASSPATH= |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
11 for l in `find -name \*.jar -print`; do |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
12 CLASSPATH=$CLASSPATH:$l |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
13 done |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
14 |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
15 export CLASSPATH |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
16 |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
17 exec java -Xmx256m \ |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
18 -server \ |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
19 -Djava.io.tmpdir=/tmp/ \ |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
20 -Dartifact.database.dir="$DIR/conf" \ |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
21 de.intevation.artifactdatabase.App \ |
874644bf1da8
Added start-script to version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
22 2>&1 > /dev/null |