comparison contrib/make_flys_release/make_release.sh @ 5723:369e3201470d

Fix print url replacement
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 15 Apr 2013 19:15:50 +0200
parents 00851caf6979
children 8698e3284b7a
comparison
equal deleted inserted replaced
5722:88996fd04f55 5723:369e3201470d
187 echo "[INFO]: Preparing configuration of web client" 187 echo "[INFO]: Preparing configuration of web client"
188 echo "[INFO]: Tomcat Port: $TOMCAT_PORT" 188 echo "[INFO]: Tomcat Port: $TOMCAT_PORT"
189 echo "[INFO]: Artifact Port: $ARTIFACT_PORT" 189 echo "[INFO]: Artifact Port: $ARTIFACT_PORT"
190 190
191 #Needs to be done before the tomcat replacement below 191 #Needs to be done before the tomcat replacement below
192 sed -i -e "s@http://localhost:8888/flys/mapfish-print@http://localhost/flys-${VERSION}/mapfish-print@g" \ 192 sed -i -e "s@http://localhost:8888/flys/mapfish-print@https://localhost/flys-${VERSION}/flys/mapfish-print@g" \
193 $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/web.xml 193 $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/web.xml
194 194
195 sed -i -e "s@http://localhost:8181@http://localhost:$ARTIFACT_PORT@g" \ 195 sed -i -e "s@http://localhost:8181@http://localhost:$ARTIFACT_PORT@g" \
196 -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \ 196 -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
197 $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/web.xml 197 $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/web.xml

http://dive4elements.wald.intevation.org