comparison contrib/make_flys_release/make_release.sh @ 7797:f9637e6ecf6d

Use latest WSPLGEN binary.
author Tom Gottfried <tom@intevation.de>
date Thu, 06 Mar 2014 16:38:45 +0100
parents e55119cbdc19
children 1431d1af84d7
comparison
equal deleted inserted replaced
7788:a18c97f9d752 7797:f9637e6ecf6d
260 cp $FLYS_SOURCE_DIR/river/gwt-client/target/gwt-client-1.0-SNAPSHOT.war $WORK_DIR/client/flys-${VERSION}.war 260 cp $FLYS_SOURCE_DIR/river/gwt-client/target/gwt-client-1.0-SNAPSHOT.war $WORK_DIR/client/flys-${VERSION}.war
261 cp $FLYS_SOURCE_DIR/river/artifacts/target/dependency/* $WORK_DIR/server/bin/lib/ 261 cp $FLYS_SOURCE_DIR/river/artifacts/target/dependency/* $WORK_DIR/server/bin/lib/
262 262
263 echo "INFO: copy scripts and libraries to target destination" 263 echo "INFO: copy scripts and libraries to target destination"
264 cp ${SCRIPT_DIR}/bin/run.sh $WORK_DIR/server/bin/ 264 cp ${SCRIPT_DIR}/bin/run.sh $WORK_DIR/server/bin/
265 cp ${SCRIPT_DIR}/bin/wsplgen.exe $WORK_DIR/server/bin/
266 cp ${SCRIPT_DIR}/libs/* $WORK_DIR/server/bin/lib/ 265 cp ${SCRIPT_DIR}/libs/* $WORK_DIR/server/bin/lib/
267 266
267 echo "INFO: download WSPLGEN"
268 wget https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz
269 gunzip wsplgen-linux-64bit-static.gz
270 echo "16d60047aa114d69e9435dbbe56b6981b4e1c445 wsplgen-linux-64bit-static" | \
271 sha1sum -c
272 mv wsplgen-linux-64bit-static $WORK_DIR/server/bin/
273 chmod +x $WORK_DIR/server/bin/wsplgen-linux-64bit-static
268 274
269 if [ "$BUILD_ORACLE" = "TRUE" ]; then 275 if [ "$BUILD_ORACLE" = "TRUE" ]; then
270 echo "INFO: remove PostgreSQL and PostGIS libraries" 276 echo "INFO: remove PostgreSQL and PostGIS libraries"
271 rm $WORK_DIR/server/bin/lib/postg* 277 rm $WORK_DIR/server/bin/lib/postg*
272 rm $WORK_DIR/server/bin/lib/hibernate-spatial-postgis* 278 rm $WORK_DIR/server/bin/lib/hibernate-spatial-postgis*

http://dive4elements.wald.intevation.org