[mkgmap-dev] Contributing to mkgmap
From Nop nop at wanderreitkarte.de on Sat Oct 9 19:19:48 BST 2021
Hi Peter, I know the phenomenon from other applications. Main.class.getResourceAsStream("/help/en/options") works via the classloader. If running from a .jar, the resources have been packaged with the classes during build. But when launching from the IDE, the classes are located in ./classes while the resource file is still in a different path ./resources/help. Manually copying the resource files into classes/ allowed mkgmap to run, but as mkgmap includes an IntelliJ Run/Debug configuration I was amazed that it did not work. Well, let's concentrate on the feature. bye, Nop Am 09.10.2021 um 18:54 schrieb Gerd Petermann: > Hi Nop, > > a missing resource file is caused by a wrong build. I don't know how to fix that in IntelliJ. In Eclipse I just have to rebuild. > Maybe try to build with ant on the command line first. > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Nop <nop at wanderreitkarte.de> > Gesendet: Samstag, 9. Oktober 2021 18:38 > An: mkgmap-dev at lists.mkgmap.org.uk > Betreff: Re: [mkgmap-dev] Contributing to mkgmap > > > Hi Peter, > > thinking about what you wrote, is it possible that this is a bug in mkgmap? > > If Main.getValidOptions() would return null if unable to read, it would > work. But as it returns an empty Set, all normal options are rejected. > And of course those are required to control mkgmap. > > bye, > Nop > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] Contributing to mkgmap
- Next message: [mkgmap-dev] Commit r4808: implement new option --gmapi-minimal (gmapi-minimal-v5.patch)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list