Menu

#20 Add osgi headers

closed
nobody
None
5
2012-10-04
2012-05-03
No

Adding osgi header information to the manifest of the provided jackcess jar would improve the integration of the library in osgi projects. Currently the creation of a wrapper jar is necessary. There is not much work involved since tools for the creation of the header entries exists for all major build tools like maven or ant. Here is an example for the manifest generated by the bnd tool:

Manifest-Version: 1.0
Bnd-LastModified: 1334829727078
Bundle-ManifestVersion: 2
Bundle-Name: com.healthmarketscience.jackcess
Bundle-SymbolicName: com.healthmarketscience.jackcess
Bundle-Version: 1.2.7
Created-By: 1.6.0_31 (Sun Microsystems Inc.)
Export-Package: com.healthmarketscience.jackcess;uses:="com.healthmarket
science.jackcess.complex,org.apache.commons.logging,com.healthmarketsci
ence.jackcess.scsu,org.apache.commons.lang,org.apache.commons.lang.buil
der,com.healthmarketscience.jackcess.query";version="1.2.7",com.healthm
arketscience.jackcess.complex;uses:="com.healthmarketscience.jackcess,o
rg.apache.commons.logging";version="1.2.7",com.healthmarketscience.jack
cess.query;uses:="org.apache.commons.lang.builder,org.apache.commons.lo
gging,com.healthmarketscience.jackcess,org.apache.commons.lang";version
="1.2.7",com.healthmarketscience.jackcess.scsu;uses:="org.apache.common
s.logging";version="1.2.7"
Import-Package: org.apache.commons.lang,org.apache.commons.lang.builder,
org.apache.commons.logging
Tool: Bnd-1.51.0

Discussion

  • James Ahlborn

    James Ahlborn - 2012-05-24

    took some dancing w/ maven, but i think i got this working.

     
  • Tobias Hammerschmidt

    Great news, looking forward to the next release!

     
  • James Ahlborn

    James Ahlborn - 2012-05-25

    this will be in the 1.2.8 release.

     

Log in to post a comment.