[mkgmap-dev] how to have a script/batch check for mkgmap version?
From Felix Hartmann extremecarver at gmail.com on Fri Jun 7 08:48:50 BST 2013
java -jar mkgmap.jar test-map:test-points I didn't remember that one. And thanks for clarifying that the version goes to stderr not stdout. On 07.06.2013 08:24, GerdP wrote: > Hi Felix, > > yes, I added some checks in mkgmap to avoid the writing of (almost) empty > files > when mkgmap is started without file args. > If you want to produce an output file, you can use the test function, > e.g. > java -jar mkgmap.jar test-map:test-points > > > Felix Hartmann-2 wrote >> Well I managed some sort of test - but it would be nicer to get the >> version output to file for checking: >> >> Dunno why >> doesn't put the version into the version_text.txt but >> instead puts the time of running mkgmap into the .txt file. > the reason is that --version prints to stderr instead of stdout. > I also don't know why. > On Windows, you can use this command to fill a fill with the version number. > java -jar mkgmap.jar --version 2> version.txt > > If you want to append it to the file, use > java -jar mkgmap.jar --version 2>> version.txt > > Gerd > > > > > -- > View this message in context: http://gis.19327.n5.nabble.com/how-to-have-a-script-batch-check-for-mkgmap-version-tp5764308p5764339.html > Sent from the Mkgmap Development mailing list archive at Nabble.com. > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org
- Previous message: [mkgmap-dev] how to have a script/batch check for mkgmap version?
- Next message: [mkgmap-dev] Commit: r2642: document that --version prints to stderr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list