view contrib/make_flys_release/bin/run.sh @ 6189:4365320750bb

Add helpers for links into the Flys wiki with optional SSO support. If a SAML ticket is known for the current user, a HTML form is generated so tha the Ticket is used to authenticate the Wiki access, otherwise a plain Link is generated similar to what the UI used before the SSO links. Part of flys/issue1265
author Bernhard Herzog <bh@intevation.de>
date Tue, 04 Jun 2013 17:33:55 +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