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.

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.2
    • Affects Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      N/A

      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

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

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

              Created:
              Updated:
              Resolved: