changeset 4487:a08d25476f0a

Fixed web.xml seding
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 14 Nov 2012 10:38:33 +0100
parents 78227746fe3a
children 5041105d2edd 302f5da348bb
files contrib/make_flys_release/make_release.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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@http://localhost:8181@http://localhost:$ARTEFACT_PORT@g " \
-       -e "a@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
+       -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
     $FLYS_HG/flys-client/src/main/webapp/WEB-INF/web.xml
 
 echo "INFO: download OpenLayers-2.11 for client"

http://dive4elements.wald.intevation.org