[Dive4elements-commits] [PATCH 3 of 4] Replace example.com in conf.xml

Wald Commits scm-commit at wald.intevation.org
Mon Apr 15 12:56:50 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1366022835 -7200
# Node ID 00851caf6979b1230ed4653991fbbbbae8a41466
# Parent  c13cbdd010ed12f20b72230d11e5b64eca394c5c
Replace example.com in conf.xml

diff -r c13cbdd010ed -r 00851caf6979 contrib/make_flys_release/make_release.sh
--- 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 at 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 at 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 at 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


More information about the Dive4elements-commits mailing list