[mkgmap-dev] [PATCH] allow offline Ivy dependency resolution
From Richard Hansen rhansen at bbn.com on Sat Mar 10 20:13:33 GMT 2012
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Remove-changing-true-from-osmpbf-dependency.patch Type: text/x-patch Size: 712 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120310/533165e5/attachment.bin
- Previous message: [mkgmap-dev] Commit: r2237: Merge of the build branch which uses ivy to obtain
- Next message: [mkgmap-dev] [PATCH] allow offline Ivy dependency resolution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list