changeset 7797:f9637e6ecf6d

Use latest WSPLGEN binary.
author Tom Gottfried <tom@intevation.de>
date Thu, 06 Mar 2014 16:38:45 +0100
parents a18c97f9d752
children 2213036a83d6
files contrib/make_flys_release/bin/run.sh contrib/make_flys_release/make_release.sh doc/INSTALL_DE
diffstat 3 files changed, 18 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/run.sh	Wed Mar 05 19:47:54 2014 +0100
+++ b/contrib/make_flys_release/bin/run.sh	Thu Mar 06 16:38:45 2014 +0100
@@ -19,7 +19,7 @@
      -Djava.io.tmpdir="$DIR/cache" \
      -Dflys.backend.enablejmx=true \
      -Dflys.uesk.keep.artifactsdir=false \
-     -Dwsplgen.bin.path="$DIR/bin/wsplgen.exe" \
+     -Dwsplgen.bin.path="$DIR/bin/wsplgen-linux-64bit-static" \
      -Dwsplgen.log.output=false \
      -Dartifact.database.dir="$DIR/conf" \
      $APP
--- a/contrib/make_flys_release/make_release.sh	Wed Mar 05 19:47:54 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Thu Mar 06 16:38:45 2014 +0100
@@ -262,9 +262,15 @@
 
 echo "INFO: copy scripts and libraries to target destination"
 cp ${SCRIPT_DIR}/bin/run.sh $WORK_DIR/server/bin/
-cp ${SCRIPT_DIR}/bin/wsplgen.exe $WORK_DIR/server/bin/
 cp ${SCRIPT_DIR}/libs/* $WORK_DIR/server/bin/lib/
 
+echo "INFO: download WSPLGEN"
+wget https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz
+gunzip wsplgen-linux-64bit-static.gz
+echo "16d60047aa114d69e9435dbbe56b6981b4e1c445  wsplgen-linux-64bit-static" | \
+    sha1sum -c
+mv wsplgen-linux-64bit-static $WORK_DIR/server/bin/
+chmod +x $WORK_DIR/server/bin/wsplgen-linux-64bit-static
 
 if [ "$BUILD_ORACLE" = "TRUE" ]; then
     echo "INFO: remove PostgreSQL and PostGIS libraries"
--- a/doc/INSTALL_DE	Wed Mar 05 19:47:54 2014 +0100
+++ b/doc/INSTALL_DE	Thu Mar 06 16:38:45 2014 +0100
@@ -214,17 +214,25 @@
     $ su d4e
     $ mkdir /opt/d4e-river/dgm
     $ cp /home/d4euser/d4e-river/demodaten/dem* /opt/d4e-river/dgm
+    $ exit
+    $ exit
 
 
 Einrichten von WSPLGEN
 ======================
 WSPLGEN kann als ausf├╝hrbare Datei heruntergeladen werden
-(https://wald.intevation.org/projects/wsplgen/). Die Datei 'wsplgen.exe' muss
+(https://wald.intevation.org/projects/wsplgen/). Die Datei muss
 dann nur noch in das 'bin' Verzeichnis des D4E-river Servers kopiert werden.
 
+    $ cd ~/d4e-river
+    $ wget https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz
+    $ gunzip wsplgen-linux-64bit-static.gz
+    $ echo "16d60047aa114d69e9435dbbe56b6981b4e1c445  wsplgen-linux-64bit-static" | \
+      sha1sum -c
     $ su root
     $ su d4e
-    $ cp /path/to/wsplgen.exe /opt/d4e-river/bin
+    $ cp /home/d4euser/d4e-river/wsplgen-linux-64bit-static /opt/d4e-river/bin
+    $ chmod +x /opt/d4e-river/bin/wsplgen-linux-64bit-static
 
 
 Einrichten des Mapserver und Apache

http://dive4elements.wald.intevation.org