Mercurial > dive4elements > river
changeset 5855:cff1eea9854f
adjust importer build-script to new names
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Fri, 26 Apr 2013 18:13:58 +0200 |
parents | 249b8766a178 |
children | c7b6561af370 |
files | backend/pom-oracle.xml contrib/make_flys_release/bin/make-importer-package.sh |
diffstat | 2 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/pom-oracle.xml Fri Apr 26 16:50:14 2013 +0200 +++ b/backend/pom-oracle.xml Fri Apr 26 18:13:58 2013 +0200 @@ -2,12 +2,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>de.intevation.flys</groupId> - <artifactId>flys-backend</artifactId> + <groupId>org.dive4elements.river</groupId> + <artifactId>backend</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> - <name>flys-backend</name> + <name>backend</name> <url>http://maven.apache.org</url> <properties> @@ -43,8 +43,8 @@ <configuration> <archive> <manifest> - <mainClass>de.intevation.flys.importer.Importer</mainClass> - <packageName>de.intevation.flys.importer</packageName> + <mainClass>org.dive4elements.river.importer.Importer</mainClass> + <packageName>org.dive4elements.river.importer</packageName> </manifest> </archive> </configuration> @@ -54,7 +54,7 @@ <configuration> <archive> <manifest> - <mainClass>de.intevation.flys.importer.Importer</mainClass> + <mainClass>org.dive4elements.river.importer.Importer</mainClass> </manifest> </archive> <descriptorRefs> @@ -67,7 +67,7 @@ <dependencies> <dependency> - <groupId>de.intevation.artifacts.common</groupId> + <groupId>org.dive4elements.artifacts.common</groupId> <artifactId>artifacts-common</artifactId> <version>1.0-SNAPSHOT</version> </dependency>
--- a/contrib/make_flys_release/bin/make-importer-package.sh Fri Apr 26 16:50:14 2013 +0200 +++ b/contrib/make_flys_release/bin/make-importer-package.sh Fri Apr 26 18:13:58 2013 +0200 @@ -6,8 +6,8 @@ # The working directory. Resulting tarball will be placed in the directory above. PKG_DIR=~/tmp/flys-importer # Path to the flys checkout -FLYS_DIR=~/flys/flys/ -# Tarball that will be extracted into flys-imprter/opt +FLYS_DIR=~/flys/river/ +# Tarball that will be extracted into flys-importer/opt EXTRAS=$1 rm -fr $PKG_DIR @@ -27,27 +27,27 @@ log4j.appender.IMPORTER.MaxBackupIndex=10 EOF -cd ${FLYS_DIR}/flys-backend +cd ${FLYS_DIR}/backend mvn -f pom-oracle.xml clean compile assembly:single -cp target/flys-backend-1.0-SNAPSHOT-jar-with-dependencies.jar \ +cp target/backend-1.0-SNAPSHOT-jar-with-dependencies.jar \ $PKG_DIR/hydr_morph/importer.jar mvn -f pom.xml clean compile assembly:single -cp target/flys-backend-1.0-SNAPSHOT-jar-with-dependencies.jar \ +cp target/river-backend-1.0-SNAPSHOT-jar-with-dependencies.jar \ $PKG_DIR/hydr_morph/importer_psql.jar -cp ${FLYS_DIR}/flys-backend/contrib/shpimporter/*.py $PKG_DIR/geodaesie -cp ${FLYS_DIR}/flys-backend/contrib/run_geo.sh \ - ${FLYS_DIR}/flys-backend/contrib/run_hydr_morph.sh \ - ${FLYS_DIR}/flys-backend/contrib/import_river.sh \ +cp ${FLYS_DIR}/backend/contrib/shpimporter/*.py $PKG_DIR/geodaesie +cp ${FLYS_DIR}/backend/contrib/run_geo.sh \ + ${FLYS_DIR}/backend/contrib/run_hydr_morph.sh \ + ${FLYS_DIR}/backend/contrib/import_river.sh \ $PKG_DIR -cp ${FLYS_DIR}/flys-backend/doc/annotation-types.xml $PKG_DIR/conf +cp ${FLYS_DIR}/backend/doc/annotation-types.xml $PKG_DIR/conf if [ -f "$EXTRAS" ]; then cd $PKG_DIR tar -xzf "$EXTRAS" fi -cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema +cp ${FLYS_DIR}/backend/doc/schema/*.sql $PKG_DIR/schema -cd ${FLYS_DIR}/flys-backend/doc/documentation/de/ +cd ${FLYS_DIR}/backend/doc/documentation/de/ make importer-manual.pdf cp importer-manual.pdf $PKG_DIR