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





--- Comment #4 from Hugues Malphettes <hmalphet...@intalio.com>  2009-11-11 
00:40:34 ---
Created an attachment (id=64)
 --> (http://bugzilla.slf4j.org/attachment.cgi?id=64)
generate osgi compliant Bundle-Version when version ends with "-SNAPSHOT"

It turns out the ant replace target is not necessary.
In my situation, the MANIFEST.MF needed to be actually complete and valid as it
was used by eclipse-PDE during development.

So the suggested patch consists of:
compute the ${parsedVersion.osgiVersion} in the parent pom.xml
and use it for every manifest:
<manifestEntries>
  <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>

as replacement to
<manifestEntries>
  <Bundle-Version>${project.version}</Bundle-Version>


Also, the proposed fix for http://bugzilla.slf4j.org/show_bug.cgi?id=75 is part
of this patch (one line change in
slf4j-api/src/main/resources/META-INF/MANIFEST.MF). Let me know if you want a
new patch without it.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to