So, If I have a resource published with two different statuses: milestone and release. And I have a dependency for that resource that declares latest.milestone, then Ivy will return latest.release instead?
If that is true, then it seems counter intuitive. I would expect that if I requested latest.milestone, and the resolver found latest.milestone and latest.release, that it would return latest.milestone. However, if I requested latest.milestone and the resolver only found a latest.release, then I would expect it to return the latest.release. Xavier Hanin wrote: > > I guess you're speaking about statuses, and not statues. > > The statuses block defines the list of available statuses, when one want > to > use other statuses than integration, milestone and release (the 3 default > statuses). > > The order is important for status compatibility, used only if you use > latest.<status> versions, like latest.milestone. In this case Ivy will > accept any status greater or equal to the status asked, meaning that if > you > ask for latest.milestone, you can end up with either a release or a > milestone. If you define your own statuses, the order will be used > accordingly. > > Xavier > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ > http://www.xoocode.org/ > > ----- Buzzterrier http://buzzterrier.blogspot.com/ View my blog: Ordinary Average Developer... -- View this message in context: http://www.nabble.com/How-does-%3Cstatues%3E-block-work-in-Ivy.-tp14330182p19923390.html Sent from the ivy-user mailing list archive at Nabble.com.
