comparison contrib/make_flys_release/bin/make-importer-package.sh @ 5172:a51515056c45

Package postgresql importer and import_river script
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 04 Mar 2013 17:46:22 +0100
parents 9474e27e319a
children 4355b4cecef8
comparison
equal deleted inserted replaced
5171:f52bb7178eda 5172:a51515056c45
22 22
23 cd ${FLYS_DIR}/flys-backend 23 cd ${FLYS_DIR}/flys-backend
24 mvn -f pom-oracle.xml clean compile assembly:single 24 mvn -f pom-oracle.xml clean compile assembly:single
25 cp target/flys-backend-1.0-SNAPSHOT-jar-with-dependencies.jar \ 25 cp target/flys-backend-1.0-SNAPSHOT-jar-with-dependencies.jar \
26 $PKG_DIR/hydr_morph/importer.jar 26 $PKG_DIR/hydr_morph/importer.jar
27 mvn -f pom.xml clean compile assembly:single
28 cp target/flys-backend-1.0-SNAPSHOT-jar-with-dependencies.jar \
29 $PKG_DIR/hydr_morph/importer_psql.jar
27 cp ${FLYS_DIR}/flys-backend/contrib/shpimporter/*.py $PKG_DIR/geodaesie 30 cp ${FLYS_DIR}/flys-backend/contrib/shpimporter/*.py $PKG_DIR/geodaesie
28 cp ${FLYS_DIR}/flys-backend/contrib/run_geo.sh \ 31 cp ${FLYS_DIR}/flys-backend/contrib/run_geo.sh \
29 ${FLYS_DIR}/flys-backend/contrib/run_hydr_morph.sh \ 32 ${FLYS_DIR}/flys-backend/contrib/run_hydr_morph.sh \
33 ${FLYS_DIR}/flys-backend/contrib/import_river.sh \
30 $PKG_DIR 34 $PKG_DIR
31 cp -r ${CONF_DIR} $PKG_DIR 35 cp -r ${CONF_DIR} $PKG_DIR
32 cp ${FLYS_DIR}/flys-backend/doc/annotation-types.xml $PKG_DIR/conf 36 cp ${FLYS_DIR}/flys-backend/doc/annotation-types.xml $PKG_DIR/conf
33 ln -s /usr/lib64/libproj.so.0.6.6 $PKG_DIR/opt/lib64/libproj.so # workaround for bad packaging 37 ln -s /usr/lib64/libproj.so.0.6.6 $PKG_DIR/opt/lib64/libproj.so # workaround for bad packaging
34 rm -rf /tmp/other_rpms 38 rm -rf /tmp/other_rpms

http://dive4elements.wald.intevation.org