You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "John Gibson (JIRA)" <ji...@apache.org> on 2010/07/15 23:13:49 UTC
[jira] Created: (IVY-1208) OSGi-friendly OSGi friendly
LatestRevisionStrategy
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.2.0-RC1, 2.1.0, 2.0
Reporter: John Gibson
Priority: Minor
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-1208) OSGi-friendly OSGi friendly
LatestRevisionStrategy
Posted by "John Gibson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Gibson updated IVY-1208:
-----------------------------
Attachment: separate-osgi-latest-rev-strategy.patch
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-1208) OSGi-friendly OSGi friendly
LatestRevisionStrategy
Posted by "John Gibson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Gibson updated IVY-1208:
-----------------------------
Attachment: osgi-friendly-latest-rev-strategy-aradeski.patch
Alex Radeski's original patch. I verified it against Ivy 2.2.0-rc1.
> 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
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.