logo separator

[mkgmap-dev] [PATCH] allow offline Ivy dependency resolution

From GerdP gpetermann_muenchen at hotmail.com on Sat Mar 10 21:30:13 GMT 2012

Hi Richard,

thanks, works fine for me.


Richard Hansen wrote
> Hi all,
> Attached is a patch that makes it possible to build mkgmap when offline. 
>   After applying this patch, you can build offline by running the
> following:
>      ant -Divy.cache.ttl.default=eternal
> I'm currently trying to figure out how to tweak build.xml to set 
> ivy.cache.ttl.default to eternal when offline but leave it alone when 
> online.  Once that is figured out, no special arguments will be needed 
> to build when disconnected from the Internet.
> What this patch does:  The osmpbf dependency was erroneously marked with 
> changing="true".  This tells Ivy that the jar might change despite the 
> version number not changing, so always check the repository.  This is 
> usually used to express a dependency on the latest snapshot (e.g., 
> nightly build) of a 3rd party project.  This is not the case with 
> osmpbf; its version number represents a fixed revision, so 'changing' 
> should be false.  This bug came from the Osmosis code I copied, so I'll 
> report it to them.
> -Richard
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at .org
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

View this message in context: http://gis.19327.n5.nabble.com/Commit-r2237-Merge-of-the-build-branch-which-uses-ivy-to-obtain-tp5539158p5553697.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.

More information about the mkgmap-dev mailing list