Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 76982 invoked from network); 18 Mar 2011 17:22:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Mar 2011 17:22:52 -0000 Received: (qmail 85509 invoked by uid 500); 18 Mar 2011 17:22:52 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 85430 invoked by uid 500); 18 Mar 2011 17:22:51 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 85312 invoked by uid 99); 18 Mar 2011 17:22:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 17:22:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 17:22:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 829893AFD4D for ; Fri, 18 Mar 2011 17:22:29 +0000 (UTC) Date: Fri, 18 Mar 2011 17:22:29 +0000 (UTC) From: "John Gibson (JIRA)" To: notifications@ant.apache.org Message-ID: <1475032177.12139.1300468949516.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Issue Comment Edited: (IVY-1208) OSGi-friendly OSGi friendly LatestRevisionStrategy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892439#comment-12892439 ] John Gibson edited comment on IVY-1208 at 3/18/11 5:20 PM: ----------------------------------------------------------- I separated out Alex Radeski's changes into a new class to preserve the existing latest revision behavior while adding the option to resolve OSGi versions correctly. was (Author: jgibson): I separated out Alex Radeski's changes into a separate class to preserve the existing latest revision behavior while adding the option to resolve OSGi versions correctly. > OSGi-friendly OSGi friendly LatestRevisionStrategy > -------------------------------------------------- > > Key: IVY-1208 > URL: https://issues.apache.org/jira/browse/IVY-1208 > Project: Ivy > Issue Type: Improvement > Components: Core > Affects Versions: 2.0, 2.1.0, 2.2.0-RC1 > Reporter: John Gibson > Priority: Minor > Attachments: osgi-friendly-latest-rev-strategy-aradeski.patch, separate-osgi-latest-rev-strategy.patch > > > The latest revision strategy is incompatible with OSGi's versioning scheme. For example Ivy considers 1.1.1 is considered to be after 1.1.1.foo. This is at odds with OSGi's versioning rules, and can cause the incorrect revision to be selected when working with bundles from Spring Source's repository (http://www.springsource.com/repository/app/), for example. > Alex Radeski raised this issue about 2 years ago and provided the attached patch to correct it. I propose that we either accept his patch to improve the behavior or follow Xavier Hanin's suggestion and adapt it to provide a separate osgi revision strategy. > For the original discussion of the issue, see this discussion thread: > http://marc.info/?l=ant-dev&m=122019942409967&w=1 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira