ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hlg Tschr <hlgts...@googlemail.com>
Subject Re: 2.3.0RC1 experimental OSGI dependencies - revision ranges
Date Fri, 04 May 2012 10:50:07 GMT
Yes, version ranges are perfectly ok. I didn't declare the proper
latest strategy for the OBR resolver. Sorry for the confusion. Hlg

2012/4/28 Nicolas Lalevée <nicolas.lalevee@hibnet.org>:
>
> Le 27 avr. 2012 à 16:17, Hlg Tschr a écrit :
>
>> Hi,
>>
>> I played around with the experimental OSGI feature of the release
>> candidate and got stuck with inter-bundle dependencies. I am using
>> org.eclipse.emf.ecore rev 2.7.0.v20110605-0747, which gets resolved
>> properly with a revision of 2.7.+ specified in the ivy file. Another
>> dependent bundle specifies the required revision range as
>> [2.7.0,3.0.0) in its manifest, which is not resolved. This may be
>> related to the different notation of exclusive ranges in OSGI bundles
>> and ivy files. I think the revision range should be converted to a
>> range of [2.7.0,3.0.0[ to be resolved by ivy correctly?
>
> The version range should be correctly interpreted. If you interested in reading some
code, see VersionRange#toIvyRevision() [1]. Something else is probably going wrong.
>
> Nicolas
>
> [1] http://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/util/VersionRange.java

Mime
View raw message