[slf4j-dev] [Bug 152] Bundle manifest headers have invalid version specifications in SLF4J version 1 .5.9-RC0

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Nov 10 23:40:46 CET 2009


http://bugzilla.slf4j.org/show_bug.cgi?id=152





--- Comment #2 from Eddy <ecorbett at gmail.com>  2009-11-10 23:40:45 ---
Yes, this has been addressed by the fix for (duplicate?) bug #157
http://bugzilla.slf4j.org/show_bug.cgi?id=157

It is fixed in
http://github.com/ceki/slf4j/commit/e967f5135e1bd2eb0d3165ec08cdb7a35bd1b200

The fix was to change the format of the version so that the hyphen-minus
character ('-') between the micro attribute and the qualifier attribute is not
longer present in the version token specified in the 'Bundle-Version' bundle
manifest header. That is, the new version is 1.5.9.RC1 where it was previously
1.5.9-RC0 (note the hyphen-minus character ('-')).

However, if the previous format for version numbers is used in the future, this
problem will be reintroduced. As mentioned by Pete Muir (in bug #157), a more
robust fix may be to convert (or "normalise") the version to the OSGi version
format of "MAJOR.MINOR.MICRO.QUALIFIER" as described in: 
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%28BND%29-DefaultBehavior


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the slf4j-dev mailing list