Ivy: Using dynamic revisions

后端 未结 1 1888
闹比i
闹比i 2021-01-28 07:33

I\'m having problems understanding how I to use dynamic revisions of Ivy effectively in my Java projects.

Currently, I have the following layout:

lib-a
r         


        
相关标签:
1条回答
  • 2021-01-28 08:09

    I would suggest reading the following tutorial on multi-module projects in Ivy.

    • http://ant.apache.org/ivy/history/latest-milestone/tutorial/multiproject.html

    ANT builds traditionally are big and monolithic. what you need to do is emulate Maven's way of splitting a large project up into a series of smaller builds. Each sub-build publishes it's artifact into ivy's local repo.

    Ivy has lots of useful tasks for this kind of structure:

    • buildlist - Called from your overall main build file. Use to look into each sub-module's ivy.xml and determine the proper build order (Some modules depende on others)
    • buildnumber - Looks at what is already published and generate the next build number in the sequence
    • publish - Push artifacts into local repo (or a foreign one, if configured in the ivysettings.xml file)
    0 讨论(0)
提交回复
热议问题