# HG changeset patch # User Tom Gottfried # Date 1428569571 -7200 # Node ID 32682fa2127d44d279fb0302ad75e13eb8bda6ae # Parent 0bc0d84a4fe05d63bea018ef779bcd82022c6a63 Move importer configuration to a single place. diff -r 0bc0d84a4fe0 -r 32682fa2127d backend/doc/annotation-types.xml --- a/backend/doc/annotation-types.xml Thu Apr 09 10:28:50 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 0bc0d84a4fe0 -r 32682fa2127d backend/doc/conf/annotation-types.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/backend/doc/conf/annotation-types.xml Thu Apr 09 10:52:51 2015 +0200 @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 0bc0d84a4fe0 -r 32682fa2127d backend/doc/conf/log4j.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/backend/doc/conf/log4j.properties Thu Apr 09 10:52:51 2015 +0200 @@ -0,0 +1,7 @@ +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 diff -r 0bc0d84a4fe0 -r 32682fa2127d contrib/make_flys_release/bin/make-importer-package.sh --- 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"