Mercurial > dive4elements > river
diff contrib/make_flys_release/make_release.sh @ 7801:1431d1af84d7
Remove not publicly available WMS services and enable custom configuration through release script.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 06 Mar 2014 17:30:59 +0100 |
parents | f9637e6ecf6d |
children | 5bb3f5d41d48 |
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh Thu Mar 06 16:43:49 2014 +0100 +++ b/contrib/make_flys_release/make_release.sh Thu Mar 06 17:30:59 2014 +0100 @@ -215,6 +215,11 @@ find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \ xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g"; +if [ -r "$WMSSERVICES_XML" ]; then + cp "$WMSSERVICES_XML" \ + $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/wms-services.xml +fi + if [ -r "$CONFIG_YAML" ]; then cp "$CONFIG_YAML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml fi @@ -230,6 +235,10 @@ cp "$FLOODMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/floodmap.xml fi +if [ -r "$METADATA_XML" ]; then + cp "$METADATA_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/meta-data.xml +fi + if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then echo "INFO: download OpenLayers-2.11 for client" cd $FLYS_SOURCE_DIR