Hi Steve,

here is v2 which fixes NsisBuilder. Please review.

Gerd


________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Gerd 
Petermann <[email protected]>
Gesendet: Mittwoch, 18. Januar 2017 11:14:21
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] No index files written with certain options

Hi Steve,

the patch introduces new problems, e.g. the files are not created if --index is 
given without --gmapsupp.
Also --no-tdbfile doesn't work with --nsis (I think this combination should 
cause an IllegalArgumentException)

The need for the --tdbfile option with --index  is documented, so maybe it 
would be better to fix the creation of the *.nsi file.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Gerd 
Petermann <[email protected]>
Gesendet: Mittwoch, 18. Januar 2017 10:37:29
An: [email protected]
Betreff: [mkgmap-dev] No index files written with certain options

Hi Steve,

I've noticed that mkgmap doesn't write the index files for the PC when called 
with these options:
java -jar mkgmap.jar --nsis --index --gmapsupp *.o5m

It doesn't create *_mdr.img or *.mdx BUT the created *.nsi file expects the 
index files.

The files are created if I add option --tdbfile or when I remove --gmapsupp.
This is quite confusing.
I've attached a patch to fix this, please review and commit if you think it is 
okay.

Gerd


_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Attachment: nsis_v2.patch
Description: nsis_v2.patch

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to