view flys-backend/contrib/spatial-info.sh @ 4656:442fbb290fa8

Introduce river mapfile generation (WARNING: Changes in config xml files required!). On startup the RiverMapfileGeneratorStarter is called by the server app. The starter invokes a call to RiverMapfileGenerator.generate() which reads all available rivers from the database and generates layers for each river (in theory...uncompleted) in a river.map file. The old MapfileGenerator which generates layers that have artifact dependencies is now in ArtifactMapfileGenerator.
author Christian Lins <christian.lins@intevation.de>
date Tue, 11 Dec 2012 15:24:24 +0100
parents e2deda3b77a7
children
line wrap: on
line source
#!/bin/bash

mvn -e \
    -Dlog4j.configuration=file://`readlink -f contrib/log4j.properties` \
    -Dflys.backend.user=USER \
    -Dflys.backend.password=PASSWORD \
    -Dflys.backend.url=jdbc:postgresql://THE.DATABASE.HOST:PORT/DBNAME \
    -Dflys.backend.spatial.river=Saar \
    -Dexec.mainClass=de.intevation.flys.backend.SpatialInfo \
    exec:java

http://dive4elements.wald.intevation.org