diff contrib/make_flys_release/make_release.sh @ 4493:b15f82f0d652

Fixed path to client logging
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 14 Nov 2012 11:01:51 +0100
parents 302f5da348bb
children 334c68344eb5
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Wed Nov 14 10:53:15 2012 +0100
+++ b/contrib/make_flys_release/make_release.sh	Wed Nov 14 11:01:51 2012 +0100
@@ -42,10 +42,13 @@
 # adapt client configuration
 echo "INFO: prepare configuration of web client"
 
-sed -i -e "s@http://localhost:8181@http://localhost:$ARTEFACT_PORT@g " \
+sed -i -e "s@http://localhost:8181@http://localhost:$ARTEFACT_PORT@g" \
        -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
     $FLYS_HG/flys-client/src/main/webapp/WEB-INF/web.xml
 
+sed -i -e "s@/tmp/flys-client.log@/tmp/flys-client-${RELEASE}.log@g" \
+    $FLYS_HG/flys-client/src/main/webapp/WEB-INF/log4j.properties
+
 echo "INFO: download OpenLayers-2.11 for client"
 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz
 tar xvfz OpenLayers-2.11.tar.gz

http://dive4elements.wald.intevation.org