Mercurial > dive4elements > river
view artifacts/bin/run.sh @ 8709:71ae18553377
(issue1754) Also fixup master artifact for already loaded recommendations
As the load many call creates (and needs to create) all artifacts
in the reccomendations this would break "old" recommendations after
a reload through the "Pencil" mode.
A better fix would probably be to just set the master artifiact
in the recommendations but due to the extremly weird interaction
with the server at this point it is not trivial to identify how
this can be done.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 24 Apr 2015 15:57:23 +0200 |
parents | 522c46c53861 |
children | 654aaa0d7576 |
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.uesk.keep.artifactsdir=false \ -Dwsplgen.bin.path="$DIR/bin/wsplgen" \ -Dwsplgen.log.output=false \ -Dartifact.database.dir="$DIR/conf" \ $APP