Mercurial > dive4elements > river
comparison contrib/make_flys_release/bin/run.sh @ 4065:9d404069f361
Added build script for FLYS release.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 09 Oct 2012 12:30:13 +0200 |
parents | |
children | 7e82d51c5a27 |
comparison
equal
deleted
inserted
replaced
4064:61020a61ed38 | 4065:9d404069f361 |
---|---|
1 #!/bin/bash | |
2 | |
3 APP=de.intevation.artifactdatabase.App | |
4 | |
5 DIR=`dirname $0`/.. | |
6 DIR=`readlink -f "$DIR"` | |
7 | |
8 CLASSPATH= | |
9 for l in `find "$DIR/bin/lib" -name \*.jar -print`; do | |
10 CLASSPATH=$CLASSPATH:$l | |
11 done | |
12 | |
13 export CLASSPATH | |
14 | |
15 exec java -Xmx256m \ | |
16 -server \ | |
17 -Dflys.datacage.recommendations.development=true \ | |
18 -Dcom.sun.management.jmxremote.port=1229 \ | |
19 -Dcom.sun.management.jmxremote.authenticate=false \ | |
20 -Djava.io.tmpdir="$DIR/cache" \ | |
21 -Dflys.backend.enablejmx=true \ | |
22 -Dflys.uesk.keep.artifactsdir=false \ | |
23 -Dwsplgen.bin.path="$DIR/bin/wsplgen.exe" \ | |
24 -Dwsplgen.log.output=false \ | |
25 -Dartifact.database.dir="$DIR/conf" \ | |
26 $APP |