comparison 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
comparison
equal deleted inserted replaced
7800:8ae8b919d75f 7801:1431d1af84d7
213 fi 213 fi
214 214
215 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \ 215 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \
216 xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g"; 216 xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g";
217 217
218 if [ -r "$WMSSERVICES_XML" ]; then
219 cp "$WMSSERVICES_XML" \
220 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/wms-services.xml
221 fi
222
218 if [ -r "$CONFIG_YAML" ]; then 223 if [ -r "$CONFIG_YAML" ]; then
219 cp "$CONFIG_YAML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml 224 cp "$CONFIG_YAML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml
220 fi 225 fi
221 226
222 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ 227 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
226 cp "$RIVERMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/rivermap.xml 231 cp "$RIVERMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/rivermap.xml
227 fi 232 fi
228 233
229 if [ -r "$FLOODMAP_XML" ]; then 234 if [ -r "$FLOODMAP_XML" ]; then
230 cp "$FLOODMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/floodmap.xml 235 cp "$FLOODMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/floodmap.xml
236 fi
237
238 if [ -r "$METADATA_XML" ]; then
239 cp "$METADATA_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/meta-data.xml
231 fi 240 fi
232 241
233 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then 242 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
234 echo "INFO: download OpenLayers-2.11 for client" 243 echo "INFO: download OpenLayers-2.11 for client"
235 cd $FLYS_SOURCE_DIR 244 cd $FLYS_SOURCE_DIR

http://dive4elements.wald.intevation.org