Mercurial > dive4elements > river
diff contrib/make_flys_release/make_release.sh @ 4889:8118f9b0ee7b
Fixed config files.
* backend-db: fixed connection string.
* make-release: Fixed mapserver url and added sed command to replace mapserver
url in rivermap.xml
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 28 Jan 2013 16:33:05 +0100 |
parents | 83a42e6a562d |
children | 15ff9ddc765e |
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh Mon Jan 28 16:30:46 2013 +0100 +++ b/contrib/make_flys_release/make_release.sh Mon Jan 28 16:33:05 2013 +0100 @@ -17,7 +17,7 @@ ARTIFACT_PORT=${ARTIFACT_PORT:-9002} TOMCAT_PORT=${TOMCAT_PORT:-8005} -MAPSERVER_URL=${MAPSERVER_URL:-czech-republic.intevation.de} +MAPSERVER_URL=${MAPSERVER_URL:-czech-republic.atlas.intevation.de} echo "INFO: create server directories" mkdir -p $DIRECTORY/server/bin/lib/own @@ -102,11 +102,15 @@ confs/rest-server.xml \ > $DIRECTORY/server/conf/rest-server.xml -sed -e "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \ - -e "s@flys-default@flys-${RELEASE}@g" \ +sed -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ confs/floodmap.xml \ > $DIRECTORY/server/conf/floodmap.xml +sed -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ + confs/rivermap.xml \ + > $DIRECTORY/server/conf/rivermap.xml + + sed "s@/tmp/flys-server-default.log@/tmp/flys-server-${RELEASE}.log" \ confs/log4j.properties \ > $DIRECTORY/server/conf/log4j.properties