Mercurial > dive4elements > river
view flys-backend/contrib/dump-schema.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 | 8477965674ce |
children |
line wrap: on
line source
#!/bin/bash DB_URL=jdbc:postgresql://czech-republic.atlas.intevation.de:5432/flys3 DB_USER=flys DB_PASS=flys DB_DIALECT=org.hibernatespatial.oracle.OracleSpatial10gDialect mvn compile package -e \ -Dlog4j.configuration=file://`readlink -f contrib/log4j.properties` \ -Dflys.backend.user=$DB_USER \ -Dflys.backend.password=$DB_PASS \ -Dflys.backend.dialect=$DB_DIALECT \ -Dflys.backend.url=$DB_URL \ -Dexec.mainClass=de.intevation.flys.App \ exec:java