Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-171

Add 'export-package' declaration in Java driver jar so that mongodb classes are usable in an OSGi context.

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.2
    • 2.1
    • None
    • None
    • N/A

    Description

      The META-INF/MANIFEST currently in the Java JAR does not export any packages. It would be nice to be able to use the driver as a bundle in an OSGi runtime. The additional line in MANIFEST.MF would be something like...

      export-package: com.mongodb, com.mongodb.io, com.mongodb.util

      Attachments

        1. build.xml
          5 kB
        2. MANIFEST.MF
          0.3 kB

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            kgilmer Ken Gilmer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: