diff contrib/make_flys_release/make_release.sh @ 5705:00851caf6979

Replace example.com in conf.xml
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 15 Apr 2013 12:47:15 +0200
parents d2c6d4ca6841
children 369e3201470d
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Mon Apr 15 12:42:02 2013 +0200
+++ b/contrib/make_flys_release/make_release.sh	Mon Apr 15 12:47:15 2013 +0200
@@ -199,9 +199,7 @@
 sed -i -e "s@/tmp/flys-client.log@${LOG_DIR}/client-${VERSION}.log@g" \
     $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/log4j.properties
 
-find $FLYS_SOURCE_DIR/flys/flys-artifacts/src/main/resources/ -name messages\*.properties | \
-    xargs sed -i "s@https://flys-intern.intevation.de/Flys-3.0@${WIKI_URL}@g";
-
+# XXX: Are they really used at runtime?
 find $FLYS_SOURCE_DIR/flys/ -name \*.properties -o -name \*.xsl |  \
     xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g";
 
@@ -292,6 +290,7 @@
     > $WORK_DIR/server/conf/log4j.properties
 
 sed -i -e "s@<dgm-path>/path/to/rivers/</dgm-path>@<dgm-path>${DGM_PATH}</dgm-path>@g" \
+       -e "s@<help-url>http://example.com</help-url>@<help-url>${WIKI_URL}</help-url>@g" \
     $WORK_DIR/server/conf/conf.xml
 
 cat > $WORK_DIR/server/conf/seddb-db.xml << EOF

http://dive4elements.wald.intevation.org