You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by mattmarshall <gi...@git.apache.org> on 2013/07/14 17:50:38 UTC

thrift pull request: Please add more OSGI package exports to the Java manif...

GitHub user mattmarshall opened a pull request:

    https://github.com/apache/thrift/pull/36

    Please add more OSGI package exports to the Java manifest file

    When trying to use the Thrift jar in an OSGI application, I get the following error:
    
    > org.osgi.framework.BundleException: Unresolved constraint in bundle ... : Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (osgi.wiring.package=org.apache.thrift.server)
    
    Upon further inspection, I noticed that the jar's manifest file only exports the package org.apache.thrift, which is useful but arguably not sufficient in scope for most applications (I need access to TSimpleServer, etc.)
    
    Please consider adding additional package exports so I don't have to re-wrap the compiled class files in a custom  manifest. Thanks :)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mattmarshall/thrift master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/36.patch

----

----