<div dir="ltr">still the same problem if I don't link the build folder of mkgmap_trunk but instead the mkgmap.jar in the basefolder:<div><br></div><div>C:\openmtbmap\mkgmap_display>ant dist<br>Buildfile: C:\openmtbmap\mkgmap_display\build.xml<br><br>prepare:<br>    [mkdir] Created dir: C:\openmtbmap\mkgmap_display\build\classes<br><br>ivy-availability:<br><br>download-ivy:<br><br>init-ivy:<br>[ivy:configure] :: Apache Ivy 2.5.0 - 20191020104435 :: <a href="https://ant.apache.org/ivy/">https://ant.apache.org/ivy/</a> ::<br>[ivy:configure] :: loading settings :: file = C:\openmtbmap\mkgmap_display\ivysettings.xml<br><br>resolve-compile:<br><br>compile:<br>    [javac] Compiling 76 source files to C:\openmtbmap\mkgmap_display\build\classes<br>    [javac] C:\openmtbmap\mkgmap_display\src\test\check\CommonCheck.java:141: warning: [deprecation] newInstance() in Class has been deprecated<br>    [javac]                             CommonCheck check = cls.newInstance();<br>    [javac]                                                    ^<br>    [javac]   where T is a type-variable:<br>    [javac]     T extends Object declared in class Class<br>    [javac] C:\openmtbmap\mkgmap_display\src\test\display\SrtDisplay.java:470: warning: [rawtypes] found raw type: Comparable<br>    [javac]     private class CharPosition implements Comparable {<br>    [javac]                                           ^<br>    [javac]   missing type arguments for generic class Comparable<T><br>    [javac]   where T is a type-variable:<br>    [javac]     T extends Object declared in interface Comparable<br>    [javac] C:\openmtbmap\mkgmap_display\src\test\display\SrtDisplay.java:502: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal<br>    [javac]                             return new Integer(val).compareTo(c2.val);<br>    [javac]                                    ^<br>    [javac] 3 warnings<br><br>build:<br><br>dist:<br>      [jar] Building jar: C:\openmtbmap\mkgmap_display\dist\display.jar<br><br>BUILD SUCCESSFUL<br>Total time: 6 seconds<br></div><div><br></div><div><b>it compiles but then on use it complains:</b></div><div><br></div><div>C:\openmtbmap\mkgmap_display>start /normal /b /wait java -jar C:\openmtbmap\display.jar c:\openmtbmap\gmapsupp.img<br><b>no main manifest attribute, in C:\openmtbmap\display.jar</b><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 Dec 2021 at 17:33, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Felix,<br>
<br>
please try<br>
ant clean dist > log<br>
and post a link to the file log<br>
<br>
I did this:<br>
checkout: svn co <a href="https://svn.mkgmap.org.uk/mkgmap/display/trunk" rel="noreferrer" target="_blank">https://svn.mkgmap.org.uk/mkgmap/display/trunk</a> display<br>
copy mkgmap.jar into display\lib\compile<br>
execute ant dist<br>
Compile works with one warning.<br>
ant -version says<br>
Apache Ant(TM) version 1.10.8 compiled on May 10 2020<br>
javac -versio says<br>
javac 1.8.0_272<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>><br>
Gesendet: Donnerstag, 2. Dezember 2021 17:26<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] Building display.jar fails<br>
<br>
then it does not find anything anymore.<br>
<br>
like this:<br>
<br>
ompile:<br>
    [javac] Compiling 589 source files to C:\openmtbmap\mkgmap_display\build\classes<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\Coord.java:23: error: package it.unimi.dsi.fastutil.longs does not exist<br>
    [javac] import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;<br>
    [javac]                                   ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\Coord.java:124: error: cannot find symbol<br>
    [javac]     public static Coord makeHighPrecCoord(int latHp, int lonHp, Long2ObjectOpenHashMap<Coord> coordPool) {<br>
    [javac]                                                                 ^<br>
    [javac]   symbol:   class Long2ObjectOpenHashMap<br>
    [javac]   location: class Coord<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\lbl\LBLFileReader.java:21: error: package it.unimi.dsi.fastutil.ints does not exist<br>
    [javac] import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;<br>
    [javac]                                  ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\net\RouteNode.java:25: error: package it.unimi.dsi.fastutil.ints does not exist<br>
    [javac] import it.unimi.dsi.fastutil.ints.IntArrayList;<br>
    [javac]                                  ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\reader\osm\TagDict.java:18: error: package it.unimi.dsi.fastutil.shorts does not exist<br>
    [javac] import it.unimi.dsi.fastutil.shorts.ShortArrayList;<br>
    [javac]                                    ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\reader\osm\TagDict.java:98: error: cannot find symbol<br>
    [javac]     public static ShortArrayList compileTags(String ...keys) {<br>
    [javac]                   ^<br>
    [javac]   symbol:   class ShortArrayList<br>
    [javac]   location: class TagDict<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\lbl\LBLFileReader.java:54: error: cannot find symbol<br>
    [javac]     private final Int2ObjectOpenHashMap<Label> labels = new Int2ObjectOpenHashMap<>();<br>
    [javac]                   ^<br>
<br>
On Thu, 2 Dec 2021 at 16:54, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a><mailto:<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>>> wrote:<br>
Hi Felix,<br>
<br>
please try svn up.<br>
Maybe the change in <a href="https://www.mkgmap.org.uk/websvn/revision.php?repname=display&rev=565" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/websvn/revision.php?repname=display&rev=565</a> helps.<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>>> im Auftrag von Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a><mailto:<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>>><br>
Gesendet: Donnerstag, 2. Dezember 2021 16:49<br>
An: Development list for mkgmap<br>
Betreff: [mkgmap-dev] Building display.jar fails<br>
<br>
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:<br>
"no main manifest attribute, in C:\openmtbmap\display.jar"<br>
<br>
<br>
<br>
<br>
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:<br>
<br>
Buildfile: C:\openmtbmap\mkgmap_display\build.xml<br>
<br>
prepare:<br>
    [mkdir] Created dir: C:\openmtbmap\mkgmap_display\build\classes<br>
<br>
ivy-availability:<br>
<br>
download-ivy:<br>
    [mkdir] Created dir: C:\openmtbmap\mkgmap_display\lib\build<br>
      [get] Getting: <a href="https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar" rel="noreferrer" target="_blank">https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar</a><br>
      [get] To: C:\openmtbmap\mkgmap_display\lib\build\ivy-2.5.0.jar<br>
<br>
init-ivy:<br>
[ivy:configure] :: Apache Ivy 2.5.0 - 20191020104435 :: <a href="https://ant.apache.org/ivy/" rel="noreferrer" target="_blank">https://ant.apache.org/ivy/</a> ::<br>
[ivy:configure] :: loading settings :: file = C:\openmtbmap\mkgmap_display\ivysettings.xml<br>
<br>
resolve-compile:<br>
<br>
compile:<br>
    [javac] Compiling 589 source files to C:\openmtbmap\mkgmap_display\build\classes<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: unclosed character literal<br>
    [javac]                     if (ch == '┬¬' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))<br>
    [javac]                               ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: unclosed character literal<br>
    [javac]                     if (ch == '┬¬' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))<br>
    [javac]                                  ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: not a statement<br>
    [javac]                     if (ch == '┬¬' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))<br>
    [javac]                                 ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: not a statement<br>
    [javac]                     if (ch == '┬¬' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))<br>
    [javac]                                                               ^<br>
    [javac] C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416: error: ';' expected<br>
    [javac]                     if (ch == '┬¬' || (Character.isLetter(ch) && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))<br>
    [javac]                                                                                                                          ^<br>
    [javac] 5 errors<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Felix Hartman - Openmtbmap.org & VeloMap.org<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
--<br>
Felix Hartman - Openmtbmap.org & VeloMap.org<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div><br></div></div></div></div></div></div>