view contrib/make_flys_release/bin/run.sh @ 7383:36a194156f15

Datacage: Added dc:min-number(list) and dc:max-number(list) to extract the numerical minimum/maximum from a list of numbers. Example: dc:min-number(dc:find-all('\d{4}', '1919 1291 1299 3029')) returns 1291
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 18 Oct 2013 18:36:18 +0200
parents 8698e3284b7a
children f9637e6ecf6d
line wrap: on
line source
#!/bin/bash

APP=org.dive4elements.artifactdatabase.App

DIR=`dirname $0`/..
DIR=`readlink -f "$DIR"`

CLASSPATH=
for l in `find "$DIR/bin/lib" -name \*.jar -print`; do
   CLASSPATH=$CLASSPATH:$l
done

export CLASSPATH

exec java -Xmx1024m \
     -server \
     -Djava.awt.headless=true \
     -Dflys.datacage.recommendations.development=false \
     -Djava.io.tmpdir="$DIR/cache" \
     -Dflys.backend.enablejmx=true \
     -Dflys.uesk.keep.artifactsdir=false \
     -Dwsplgen.bin.path="$DIR/bin/wsplgen.exe" \
     -Dwsplgen.log.output=false \
     -Dartifact.database.dir="$DIR/conf" \
     $APP

http://dive4elements.wald.intevation.org