logo separator

[mkgmap-dev] Building display.jar fails

From Felix Hartmann extremecarver at gmail.com on Thu Dec 2 15:49:36 GMT 2021

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20211202/b3952162/attachment.html>


More information about the mkgmap-dev mailing list