Mercurial > dive4elements > river
changeset 5692:d2c6d4ca6841
Add print url to relase script
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 15 Apr 2013 10:33:59 +0200 |
parents | dc2daadbdd0c |
children | 28e3019a6b14 |
files | contrib/make_flys_release/make_release.sh |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh Fri Apr 12 20:17:11 2013 +0200 +++ b/contrib/make_flys_release/make_release.sh Mon Apr 15 10:33:59 2013 +0200 @@ -187,6 +187,11 @@ echo "[INFO]: Preparing configuration of web client" echo "[INFO]: Tomcat Port: $TOMCAT_PORT" echo "[INFO]: Artifact Port: $ARTIFACT_PORT" + +#Needs to be done before the tomcat replacement below +sed -i -e "s@http://localhost:8888/flys/mapfish-print@http://localhost/flys-${VERSION}/mapfish-print@g" \ + $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/web.xml + sed -i -e "s@http://localhost:8181@http://localhost:$ARTIFACT_PORT@g" \ -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \ $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/web.xml