Mercurial > dive4elements > river
diff contrib/make_flys_release/bin/make-importer-package.sh @ 8670:32682fa2127d
Move importer configuration to a single place.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 09 Apr 2015 10:52:51 +0200 |
parents | f7d3fc619976 |
children | ae3df0f96e15 |
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh Thu Apr 09 10:28:50 2015 +0200 +++ b/contrib/make_flys_release/bin/make-importer-package.sh Thu Apr 09 10:52:51 2015 +0200 @@ -15,17 +15,6 @@ mkdir -p $PKG_DIR/geodaesie mkdir -p $PKG_DIR/opt/lib64 mkdir -p $PKG_DIR/schema -mkdir -p $PKG_DIR/conf - -cat > "$PKG_DIR/conf/log4j.properties" << "EOF" -log4j.rootLogger=DEBUG, IMPORTER -log4j.appender.IMPORTER.layout=org.apache.log4j.PatternLayout -log4j.appender.IMPORTER.layout.ConversionPattern=%d [%t] %-5p %c - %m%n -log4j.appender.IMPORTER=org.apache.log4j.RollingFileAppender -log4j.appender.IMPORTER.File=./import.log -log4j.appender.IMPORTER.MaxFileSize=100000KB -log4j.appender.IMPORTER.MaxBackupIndex=10 -EOF cd ${FLYS_DIR}/backend mvn -f pom-oracle.xml clean compile assembly:single @@ -39,7 +28,7 @@ ${FLYS_DIR}/backend/contrib/run_hydr_morph.sh \ ${FLYS_DIR}/backend/contrib/import_river.sh \ $PKG_DIR -cp ${FLYS_DIR}/backend/doc/annotation-types.xml $PKG_DIR/conf +cp -r ${FLYS_DIR}/backend/doc/conf $PKG_DIR/ if [ -f "$EXTRAS" ]; then cd $PKG_DIR tar -xzf "$EXTRAS"