I think it is normal to have failures building mkgmap - been this way forever on Windows (I always do ant clean before compiling, without doing so, errors are very rare)....

here is how it looks for me on windows (empty lines deleted for better readability in email):
d:\Garmin\mkgmap_svn_trunk>start /b /wait ant dist
Buildfile: build.xml
prepare:
    [mkdir] Created dir: d:\Garmin\mkgmap_svn_trunk\build\classes
ivy-availability:
download-ivy:
init-ivy:
[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = d:\Garmin\mkgmap_svn_trunk\ivysettings.xml
resolve-compile:
compile:
    [javac] Compiling 463 source files to d:\Garmin\mkgmap_svn_trunk\build\classes
    [javac] d:\Garmin\mkgmap_svn_trunk\src\uk\me\parabola\mkgmap\osmstyle\StyleImpl.java:454: warning: unreachable catch clause
    [javac]             } catch (IOException e) {
    [javac]               ^
    [javac]   thrown type FileNotFoundException has already been caught
    [javac] d:\Garmin\mkgmap_svn_trunk\src\uk\me\parabola\mkgmap\osmstyle\StyleImpl.java:489: warning: unreachable catch clause
    [javac]             } catch (IOException e) {
    [javac]               ^
    [javac]   thrown type FileNotFoundException has already been caught
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
build:
     [copy] Copying 438 files to d:\Garmin\mkgmap_svn_trunk\build\classes
svn-version:
     [exec] Result: 1
git-version:
check-version:
version-file:
[propertyfile] Creating new property file: d:\Garmin\mkgmap_svn_trunk\build\classes\mkgmap-version.properties
dist:
      [jar] Building jar: d:\Garmin\mkgmap_svn_trunk\dist\mkgmap.jar
BUILD SUCCESSFUL
Total time: 27 seconds




And here for splitter on Windows:

D:\Garmin>cd d:\garmin\mkgmap_splitter_svn
d:\Garmin\mkgmap_splitter_svn>start /b /wait ant dist
Buildfile: build.xml
prepare:
    [mkdir] Created dir: d:\Garmin\mkgmap_splitter_svn\build\classes
    [mkdir] Created dir: d:\Garmin\mkgmap_splitter_svn\build\test-classes
    [mkdir] Created dir: d:\Garmin\mkgmap_splitter_svn\build\test-output
compile:
    [javac] Compiling 68 source files to d:\Garmin\mkgmap_splitter_svn\build\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
compile.tests:
    [javac] Compiling 5 source files to d:\Garmin\mkgmap_splitter_svn\build\test-classes
run.tests:
   [testng] [Parser] Running:
   [testng]   Ant suite
   [testng]
   [testng] Wrote 999 test pairs to C:\temp\test8256805846442018905.tmp
   [testng] temporary file C:\temp\test8256805846442018905.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]
   [testng] ===============================================
   [testng] Ant suite
   [testng] Total tests run: 11, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
build:
svn-version:
     [exec] Result: 1
git-version:
check-version:
version-file:
[propertyfile] Creating new property file: d:\Garmin\mkgmap_splitter_svn\build\classes\splitter-version.properties
dist:
      [jar] Building jar: d:\Garmin\mkgmap_splitter_svn\dist\splitter.jar
     [copy] Copying 1 file to d:\Garmin\mkgmap_splitter_svn\dist\src
BUILD SUCCESSFUL
Total time: 7 seconds




On 15.01.2013 12:31, Steve Ratcliffe wrote:
Hi Gerd

Thanks. I should have found this myself, but the tests produce so many
failure messages that I did not notice this additional one.
Or maybe it is not normal to have 16 failures?
No it is not normal - on unix anyway ;) I'm suprised that no one
has complained before, given that most people run on windows.

Its difficult to delete files on Windows compared to Unix.
I'm part way through fixing it now.

..Steve
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-- 
keep on biking and discovering new trails

Felix
openmtbmap.org & www.velomap.org