[Dive4elements-commits] [PATCH] Fixed web.xml seding

Wald Commits scm-commit at wald.intevation.org
Wed Nov 14 10:38:37 CET 2012


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1352885913 -3600
# Node ID a08d25476f0a57e0566fd3b31104a582ed99120b
# Parent  78227746fe3a9bb75c32bea9860e57dd799b5394
Fixed web.xml seding

diff -r 78227746fe3a -r a08d25476f0a contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Tue Nov 13 19:09:50 2012 +0100
+++ b/contrib/make_flys_release/make_release.sh	Wed Nov 14 10:38:33 2012 +0100
@@ -14,8 +14,8 @@
 RELEASE_DATE=`date +'%Y-%m-%d'`
 DIRECTORY=$PREFIX$RELEASE-$RELEASE_DATE
 
-ARTEFACT_PORT=9002
-TOMCAT_PORT=8005
+ARTEFACT_PORT=${ARTEFACT_PORT:-9002}
+TOMCAT_PORT=${TOMCAT_PORT:-8005}
 
 echo "INFO: create server directories"
 mkdir -p $DIRECTORY/server/bin/lib/own
@@ -43,7 +43,7 @@
 echo "INFO: prepare configuration of web client"
 
 sed -i -e "s at http://localhost:8181 at http://localhost:$ARTEFACT_PORT at g " \
-       -e "a at http://localhost:8888 at http://localhost:$TOMCAT_PORT at g" \
+       -e "s at http://localhost:8888 at http://localhost:$TOMCAT_PORT at g" \
     $FLYS_HG/flys-client/src/main/webapp/WEB-INF/web.xml
 
 echo "INFO: download OpenLayers-2.11 for client"


More information about the Dive4elements-commits mailing list