logo separator

Build mkgmap/splitter #6.1

Commit: 432 by gerd
Branch: trunk
Time: 14 Mar 2016, 6:41 a.m.
Passed
This test: 1 min 9 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=jdk7, python=default {}

Checkout mkgmap/splitter branch trunk revision 432

Starting script "build"

$ java -version

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

java version "1.7.0_80"

Java(TM) SE Runtime Environment (build 1.7.0_80-b15)

Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

$ ant -version

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

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_5zDcIm/dist/splitter-r432-src.tar.gz

cd . for archives

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

$ ant -Dhave.version=1 dist

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

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

prepare:

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

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

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

ivy-availability:

download-ivy:

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

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

[mkdir] Created dir: /home/builder/build/root_5zDcIm/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_5zDcIm/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_5zDcIm/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) (148ms)

[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 (87ms)

[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 (69ms)

[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 (78ms)

compile:

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

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

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

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 (193ms)

[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 (79ms)

[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 (71ms)

compile.tests:

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

run.tests:

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

[testng] [TestNG] Running:

[testng] Ant suite

[testng]

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

[testng] temporary file /tmp/test8153050839843818941.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_5zDcIm/src/build/classes

svn-version:

git-version:

check-version:

version-file:

dist:

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

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

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

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

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

BUILD SUCCESSFUL

Total time: 44 seconds

$ exit

exit

$ ant -Dhave.version=1 run.tests

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

Buildfile: /home/builder/build/root_5zDcIm/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_5zDcIm/src/ivysettings.xml

resolve-test:

compile.tests:

run.tests:

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

[testng] [TestNG] Running:

[testng] Ant suite

[testng]

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

[testng] temporary file /tmp/test2368186212262082270.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: 11 seconds

$ exit

exit

cd . for archives

copy dist/splitter.jar to /home/builder/build/root_5zDcIm/dist/splitter-r432.jar

cd . for archives

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

zip dist to /home/builder/build/root_5zDcIm/dist/splitter-r432.zip

Script ended without errors.

End build of mkgmap/splitter-432 for environment BuildEnv: java=jdk7, 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...