comparison contrib/make_flys_release/make_release.sh @ 7777:c7abf983d41b

Set print URL to useful value for demo installation.
author Tom Gottfried <tom@intevation.de>
date Tue, 04 Mar 2014 17:58:10 +0100
parents 84889738d029
children 35a7c05b5cd4
comparison
equal deleted inserted replaced
7776:b972c7e1bfbe 7777:c7abf983d41b
190 echo "[INFO]: Preparing configuration of web client" 190 echo "[INFO]: Preparing configuration of web client"
191 echo "[INFO]: Tomcat Port: $TOMCAT_PORT" 191 echo "[INFO]: Tomcat Port: $TOMCAT_PORT"
192 echo "[INFO]: Artifact Port: $ARTIFACT_PORT" 192 echo "[INFO]: Artifact Port: $ARTIFACT_PORT"
193 193
194 #Needs to be done before the tomcat replacement below 194 #Needs to be done before the tomcat replacement below
195 sed -i -e "s@http://localhost:8888/flys/mapfish-print@https://localhost/flys-${VERSION}/flys/mapfish-print@g" \ 195 sed -i -e "s@http://localhost:8080/d4e/flys/mapfish-print@https://localhost/flys-${VERSION}/flys/mapfish-print@g" \
196 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml 196 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml
197 197
198 sed -i -e "s@http://localhost:8181@http://localhost:$ARTIFACT_PORT@g" \ 198 sed -i -e "s@http://localhost:8181@http://localhost:$ARTIFACT_PORT@g" \
199 -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \ 199 -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
200 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml 200 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml

http://dive4elements.wald.intevation.org