annotate contrib/make_flys_release/bin/run.sh @ 8293:301a32bd7045 3.1.6

Though not yet part of the calculation, suspended load has to be optionally loadable through datacage.
author "Tom Gottfried <tom@intevation.de>"
date Wed, 17 Sep 2014 19:28:39 +0200
parents 242e790fb4ee
children
rev   line source
4065
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 #!/bin/bash
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2
5900
8698e3284b7a Update after renaming and remove the binary artifact-database and common
Andre Heinecke <aheinecke@intevation.de>
parents: 5693
diff changeset
3 APP=org.dive4elements.artifactdatabase.App
4065
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
5 DIR=`dirname $0`/..
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
6 DIR=`readlink -f "$DIR"`
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8 CLASSPATH=
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
9 for l in `find "$DIR/bin/lib" -name \*.jar -print`; do
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10 CLASSPATH=$CLASSPATH:$l
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
11 done
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 export CLASSPATH
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14
5693
28e3019a6b14 Increase default memory size for the artifact server
Andre Heinecke <aheinecke@intevation.de>
parents: 4484
diff changeset
15 exec java -Xmx1024m \
4065
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 -server \
4484
7e82d51c5a27 Improved build script
Sascha L. Teichmann <teichmann@intevation.de>
parents: 4065
diff changeset
17 -Djava.awt.headless=true \
7e82d51c5a27 Improved build script
Sascha L. Teichmann <teichmann@intevation.de>
parents: 4065
diff changeset
18 -Dflys.datacage.recommendations.development=false \
4065
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
19 -Djava.io.tmpdir="$DIR/cache" \
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
20 -Dflys.uesk.keep.artifactsdir=false \
7814
242e790fb4ee More fixes for the Free Software installation.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7797
diff changeset
21 -Dwsplgen.bin.path="$DIR/bin/wsplgen" \
4065
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
22 -Dwsplgen.log.output=false \
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
23 -Dartifact.database.dir="$DIR/conf" \
9d404069f361 Added build script for FLYS release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
24 $APP

http://dive4elements.wald.intevation.org