logo separator

[mkgmap-dev] [PATCH] Use Apache Ivy to fetch dependencies, put them in dist

From Richard Hansen rhansen at bbn.com on Tue Jan 24 02:11:12 GMT 2012

On 2012-01-23 07:52, Steve Ratcliffe wrote:
>
> Presumably I can create an ivy repo on mkgmap.org.uk too?

Now why didn't I think of that?  How embarrassing!  :)

The files can be placed anywhere, but I recommend this layout:

${mkgmap.ivy.repo}/crosby/osmpbf/1.1.1-754a33af/ivys/ivy.xml
${mkgmap.ivy.repo}/crosby/osmpbf/1.1.1-754a33af/ivys/ivy.xml.md5
${mkgmap.ivy.repo}/crosby/osmpbf/1.1.1-754a33af/ivys/ivy.xml.sha1
${mkgmap.ivy.repo}/crosby/osmpbf/1.1.1-754a33af/jars/osmpbf.jar
${mkgmap.ivy.repo}/crosby/osmpbf/1.1.1-754a33af/jars/osmpbf.jar.md5
${mkgmap.ivy.repo}/crosby/osmpbf/1.1.1-754a33af/jars/osmpbf.jar.sha1

With that layout, you can use the attached patches to tell ivy to fetch 
osmpbf.jar from the mkgmap.org.uk repository instead of looking in the 
svn working directory.  The ivyconfig.xml file configures ivy to first 
try the standard locations for stuff, then check the mkgmap.org.uk 
repository.

If splitter's build system is adapted to use ivy, it can download 
osmpbf.jar from the same place.  Ivy caches the files it downloads, so 
the jar would only need to be downloaded once to build both projects.

-Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-download-dependencies-from-mkgmap.org.uk-if-unavaila.patch
Type: text/x-patch
Size: 1388 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120123/8a2d50ed/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-remove-osmpbf.jar-from-the-source-code-repository.patch
Type: text/x-patch
Size: 5670 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120123/8a2d50ed/attachment-0001.bin 


More information about the mkgmap-dev mailing list