logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: OSGi version numbering.
Date Wed, 19 Feb 2014 22:20:58 GMT
Checks the manifest. In the Export-Package attribute, each package is
paired with a version number. Those are the version numbers used by OSGi,
so I'd assume they can differ from the jar name.


On 19 February 2014 16:07, Remko Popma <remko.popma@gmail.com> wrote:

> Do OSGi containers look at the jar name or at the manifest for version
> info?
>
> Sent from my iPhone
>
> On 2014/02/20, at 1:31, Matt Sicker <boards@gmail.com> wrote:
>
> Just a quick follow-up to making things nice for the bundles. Version
> numbers in OSGi are in the format: "major.minor.micro.thing" where the
> major.minor.micro is the usual semantic versioning separated by dots, and
> the last part can be a string like "rc1" or "beta-2" or "GA" or whatever as
> is commonly done by many projects. By following the proper versioning
> scheme, consumers of these bundles can specify a version range such as
> [2.0, 2.1) so that all 2.0.x versions are considered, but not 2.1.x.
>
> Overall, this isn't too different (if at all) from common practices for
> versioning, but it's nice to keep in mind if you guys don't like increasing
> the minor version very often.
>
> --
> Matt Sicker <boards@gmail.com>
>
>


-- 
Matt Sicker <boards@gmail.com>

Mime
View raw message