logo separator

[mkgmap-dev] Building display.jar fails

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Dec 2 15:54:47 GMT 2021

Hi Felix,

please try svn up.
Maybe the change in https://www.mkgmap.org.uk/websvn/revision.php?repname=display&rev=565 helps.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Donnerstag, 2. Dezember 2021 16:49
An: Development list for mkgmap
Betreff: [mkgmap-dev] Building display.jar fails

I can actually avoid it by placing mkgmap.jar into the display tool folder - however then the display.jar is not working and ends with the notice:
"no main manifest attribute, in C:\openmtbmap\display.jar"




I get the following error I don't know how to solve when building the display.jar display tool - with the mkgmap folder inserted into the build.xml:

Buildfile: C:\openmtbmap\mkgmap_display\build.xml

prepare:
    [mkdir] Created dir: C:\openmtbmap\mkgmap_display\build\classes

ivy-availability:

download-ivy:
    [mkdir] Created dir: C:\openmtbmap\mkgmap_display\lib\build
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
      [get] To: C:\openmtbmap\mkgmap_display\lib\build\ivy-2.5.0.jar

init-ivy:
[ivy:configure] :: Apache Ivy 2.5.0 - 20191020104435 :: https://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = C:\openmtbmap\mkgmap_display\ivysettings.xml

resolve-compile:

compile:
    [javac] Compiling 589 source files to C:\openmtbmap\mkgmap_display\build\classes
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: unclosed character literal
    [javac]                     if (ch == 'ª' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
    [javac]                               ^
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: unclosed character literal
    [javac]                     if (ch == 'ª' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
    [javac]                                  ^
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: not a statement
    [javac]                     if (ch == 'ª' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
    [javac]                                 ^
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: not a statement
    [javac]                     if (ch == 'ª' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
    [javac]                                                               ^
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: ';' expected
    [javac]                     if (ch == 'ª' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
    [javac]                                                                                                                          ^
    [javac] 5 errors





--
Felix Hartman - Openmtbmap.org & VeloMap.org



More information about the mkgmap-dev mailing list