Re: OSGi friendly LatestRevisionStrategy patch

2008-09-01 Thread Alex Radeski
On 9/1/08, Tony Sweeney [EMAIL PROTECTED] wrote: For example, from the LatestRevisionStrategyTest.testComparator() test, the natural order of both OSGi and non-OSGi versions is: 0.2a, 0.2_b, 0.2rc1, 0.2-final, 1.0-dev1, 1.0-dev2, 1.0-alpha1, 1.0-alpha2, 1.0-beta1, 1.0-beta2, 1.0-gamma,

OSGi friendly LatestRevisionStrategy patch

2008-08-31 Thread Alex Radeski
Hi, While working on the Bushel project (http://code.google.com/p/bushel/) to add OSGi bundle support to Ivy, I stumbled across a limitation in the LatestRevisionStrategy. The current implementation sorts OSGi major.minor.micro[.qualifier] in what I think is the wrong order. For example, from