comparison 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
comparison
equal deleted inserted replaced
7774:2a5cc260c492 7775:84889738d029
86 BACKENDUSER=${BACKENDUSER:-flys_dami} 86 BACKENDUSER=${BACKENDUSER:-flys_dami}
87 BACKENDPASS=${BACKENDPASS:-flys_dami} 87 BACKENDPASS=${BACKENDPASS:-flys_dami}
88 INITSQLS=${INITSQLS:-} 88 INITSQLS=${INITSQLS:-}
89 DGM_PATH=${DGM_PATH:-/vol1/projects/Geospatial/flys-3.0/testdaten/dami_dgms/} 89 DGM_PATH=${DGM_PATH:-/vol1/projects/Geospatial/flys-3.0/testdaten/dami_dgms/}
90 LOG_DIR=/var/log/flys 90 LOG_DIR=/var/log/flys
91
92 # Client configuration
93 AUTH=${AUTH:-GGinA}
91 94
92 OPTS=`getopt -o ?w:,t,o \ 95 OPTS=`getopt -o ?w:,t,o \
93 -l help,oracle \ 96 -l help,oracle \
94 -n $0 -- "$@"` 97 -n $0 -- "$@"`
95 98
194 197
195 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" \
196 -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \ 199 -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
197 $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
198 201
202 sed -i -e "s@<param-value>plain</param-value>@<param-value>$AUTH</param-value>@" \
203 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml
204
199 sed -i -e "s@https://flys3-devel.bafg.de/wiki@${WIKI_URL}@g" \ 205 sed -i -e "s@https://flys3-devel.bafg.de/wiki@${WIKI_URL}@g" \
200 $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml 206 $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml
201 207
202 sed -i -e "s@/tmp/flys-client.log@${LOG_DIR}/client-${VERSION}.log@g" \ 208 sed -i -e "s@/tmp/flys-client.log@${LOG_DIR}/client-${VERSION}.log@g" \
203 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/log4j.properties 209 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/log4j.properties

http://dive4elements.wald.intevation.org