apache/thrift — pull request #36 by mattmarshall (2013-07-14 15:50:34+00:00)
Title: 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 :)