logo separator

Build mkgmap/splitter #6.4

Commit: 432 by gerd
Branch: trunk
Time: 14 Mar 2016, 6:41 a.m.
Passed
This test: 56 sec
Total time: 4 min 10 sec

splitter-element-version-v1.patch (2nd try): adds the option --handle-element-version with three possible values "keep", "fake", and "remove". With "remove" (the default) splitter works like r428, means, the version of OSM elements is not written to the output files, The change should not have an impact regarding performance. With "keep" splitter writes the version that is found in the input file. With "fake" splitter sets the version to 1. Open questions: what to do when the input file(s) contain elements without (or invalid) version info and option keep is used. Another special case is the pbf format: Since r428 splitter always writes version 1 for nodes, this was a work-around for a problem in the JOSM pbf plugin. This is still done even with --handle-element-version=remove A last special case: with output=xml and --handle-element-version=keep or fake splitter will write api version 0.6 instead of 0.5

Start build of mkgmap/splitter-432 for BuildEnv: java=openjdk8, python=default {}

Checkout mkgmap/splitter branch trunk revision 432

Starting script "build"

$ java -version

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_ac9qUu

openjdk version "1.8.0_71"

OpenJDK Runtime Environment (build 1.8.0_71-b15)

OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)

$ ant -version

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_ac9qUu

Apache Ant(TM) version 1.9.6 compiled on June 29 2015

$ echo "svn.version: 432" > resources/splitter-version.properties

$ echo "build.timestamp: $(date -Iseconds)" >> resources/splitter-version.properties

$ exit

exit

cd . for archives

tar . to /home/builder/build/root_ac9qUu/dist/splitter-r432-src.tar.gz

cd . for archives

zip . to /home/builder/build/root_ac9qUu/dist/splitter-r432-src.zip

$ ant -Dhave.version=1 dist

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_ac9qUu

Buildfile: /home/builder/build/root_ac9qUu/src/build.xml

prepare:

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/build/classes

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/build/test-classes

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/build/test-output

ivy-availability:

download-ivy:

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/lib/build

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/lib/compile

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/lib/test

[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar

[get] To: /home/builder/build/root_ac9qUu/src/lib/build/ivy-2.2.0.jar

init-ivy:

[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::

[ivy:configure] :: loading settings :: file = /home/builder/build/root_ac9qUu/src/ivysettings.xml

resolve-compile:

[ivy:retrieve] downloading http://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar ...

[ivy:retrieve] .......... (520kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] com.google.protobuf#protobuf-java;2.5.0!protobuf-java.jar(bundle) (142ms)

[ivy:retrieve] downloading http://ivy.mkgmap.org.uk/repo/crosby/osmpbf/1.3.3/jars/osmpbf.jar ...

[ivy:retrieve] .... (129kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] crosby#osmpbf;1.3.3!osmpbf.jar (39ms)

[ivy:retrieve] downloading http://ivy.mkgmap.org.uk/repo/it.unimi.dsi/fastutil/6.5.15-mkg.1b/jars/fastutil.jar ...

[ivy:retrieve] ......... (464kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] it.unimi.dsi#fastutil;6.5.15-mkg.1b!fastutil.jar (79ms)

[ivy:retrieve] downloading http://repo1.maven.org/maven2/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar ...

[ivy:retrieve] .... (117kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] xpp3#xpp3;1.1.4c!xpp3.jar (79ms)

compile:

[javac] Compiling 77 source files to /home/builder/build/root_ac9qUu/src/build/classes

[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7

[javac] Note: /home/builder/build/root_ac9qUu/src/src/uk/me/parabola/splitter/args/ParamParser.java uses unchecked or unsafe operations.

[javac] Note: Recompile with -Xlint:unchecked for details.

[javac] 1 warning

resolve-test:

[ivy:retrieve] downloading http://repo1.maven.org/maven2/org/testng/testng/6.8.8/testng-6.8.8.jar ...

[ivy:retrieve] ......................................... (816kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] org.testng#testng;6.8.8!testng.jar (126ms)

[ivy:retrieve] downloading http://repo1.maven.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar ...

[ivy:retrieve] ....... (275kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] org.beanshell#bsh;2.0b4!bsh.jar (70ms)

[ivy:retrieve] downloading http://repo1.maven.org/maven2/com/beust/jcommander/1.27/jcommander-1.27.jar ...

[ivy:retrieve] .. (54kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] com.beust#jcommander;1.27!jcommander.jar (41ms)

compile.tests:

[javac] Compiling 5 source files to /home/builder/build/root_ac9qUu/src/build/test-classes

[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7

[javac] 1 warning

run.tests:

[testng] Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_ac9qUu

[testng] [TestNG] Running:

[testng] Ant suite

[testng]

[testng] Wrote 999 test pairs to /tmp/test2292476726499085912.tmp

[testng] temporary file /tmp/test2292476726499085912.tmp was deleted

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng]

[testng] ===============================================

[testng] Ant suite

[testng] Total tests run: 11, Failures: 0, Skips: 0

[testng] ===============================================

[testng]

build:

[copy] Copying 1 file to /home/builder/build/root_ac9qUu/src/build/classes

svn-version:

git-version:

check-version:

version-file:

dist:

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/dist

[mkdir] Created dir: /home/builder/build/root_ac9qUu/src/dist/doc/api

[copy] Copying 6 files to /home/builder/build/root_ac9qUu/src/dist/doc

[copy] Copying 4 files to /home/builder/build/root_ac9qUu/src/dist/lib

[jar] Building jar: /home/builder/build/root_ac9qUu/src/dist/splitter.jar

BUILD SUCCESSFUL

Total time: 31 seconds

$ exit

exit

$ ant -Dhave.version=1 run.tests

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_ac9qUu

Buildfile: /home/builder/build/root_ac9qUu/src/build.xml

prepare:

ivy-availability:

download-ivy:

init-ivy:

[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::

[ivy:configure] :: loading settings :: file = /home/builder/build/root_ac9qUu/src/ivysettings.xml

resolve-test:

compile.tests:

run.tests:

[testng] Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_ac9qUu

[testng] [TestNG] Running:

[testng] Ant suite

[testng]

[testng] Wrote 999 test pairs to /tmp/test3582697148458220085.tmp

[testng] temporary file /tmp/test3582697148458220085.tmp was deleted

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapInline: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng] SparseLong2ShortMapHuge: Allocating three-tier structure to save area info (HashMap->vector->chunkvector)

[testng]

[testng] ===============================================

[testng] Ant suite

[testng] Total tests run: 11, Failures: 0, Skips: 0

[testng] ===============================================

[testng]

BUILD SUCCESSFUL

Total time: 8 seconds

$ exit

exit

Script ended without errors.

End build of mkgmap/splitter-432 for environment BuildEnv: java=openjdk8, python=default {}

Latest commits

  • mkgmap-r4922 improve AngleChecker to fix wrong or missing routing hints where roads are spltting or crossing at sharp angles..
    31 aug 2024
  • mkgmap-r4921 fix split() so that there are no gaps between the 4 children.
    10 jun 2024
  • mkgmap-r4920 update file sizes in unit tests, no functional change.
    10 jun 2024
  • splitter-r654 - add note that splitter doesn't handle holes in *.poly files.
    05 apr 2024
  • mkgmap-r4919 Avoid possible integer overflow in blocksize calculation when gmapsupp contains large number of tiles.
    04 apr 2024
See more...