diff contrib/make_flys_release/make_release.sh @ 7775:84889738d029

Defaulting to GGinA authentication in release script instead of client sources.
author Tom Gottfried <tom@intevation.de>
date Tue, 04 Mar 2014 17:19:48 +0100
parents e2102c4b7b07
children c7abf983d41b
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Tue Mar 04 15:23:50 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Tue Mar 04 17:19:48 2014 +0100
@@ -89,6 +89,9 @@
 DGM_PATH=${DGM_PATH:-/vol1/projects/Geospatial/flys-3.0/testdaten/dami_dgms/}
 LOG_DIR=/var/log/flys
 
+# Client configuration
+AUTH=${AUTH:-GGinA}
+
 OPTS=`getopt -o ?w:,t,o \
      -l help,oracle \
      -n $0 -- "$@"`
@@ -196,6 +199,9 @@
        -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml
 
+sed -i -e "s@<param-value>plain</param-value>@<param-value>$AUTH</param-value>@" \
+    $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml
+
 sed -i -e "s@https://flys3-devel.bafg.de/wiki@${WIKI_URL}@g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml
 

http://dive4elements.wald.intevation.org