[
https://issues.apache.org/jira/browse/SLING-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-1278.
----------------------------------------
Resolution: Fixed
Fix Version/s: Commons OSGi 2.0.6
Assignee: Bertrand Delacretaz
Implemented in revision 896880.
The BundleVersionInfo interface provides information (symbolic name, version,
etc) about bundles, and implementations exist to extract this info from jar
files or Bundle objects.
The BundleVersionComparator can then compare versions between files and
bundles, or any combination, and takes into account the SNAPSHOT comparison
logic, where the Bnd-LastModified bundle header is used to compare snapshots
having the same version number.
> Utilities for bundle version comparison, handling both jar files and Bundle
> objects
> -----------------------------------------------------------------------------------
>
> Key: SLING-1278
> URL: https://issues.apache.org/jira/browse/SLING-1278
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: Commons OSGi 2.0.4
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Fix For: Commons OSGi 2.0.6
>
>
> For SLING-1273 I need to compare versions of the launchpad base jar.
> As this comparison logic is reusable, I'll create utility classes in the
> org.apache.sling.commons.osgi bundle.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.