diff contrib/make_flys_release/make_release.sh @ 5086:4f65d833680f dami

Merge Default onto Dami branch. Dami is now temporarily a public merge branch to fix problems created by the merge.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 25 Feb 2013 11:50:13 +0100
parents 8118f9b0ee7b
children 15ff9ddc765e
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Mon Feb 25 11:46:36 2013 +0100
+++ b/contrib/make_flys_release/make_release.sh	Mon Feb 25 11:50:13 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

http://dive4elements.wald.intevation.org