You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (Commented) (JIRA)" <ji...@apache.org> on 2011/11/08 02:40:51 UTC

[jira] [Commented] (THRIFT-184) Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime

    [ https://issues.apache.org/jira/browse/THRIFT-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146022#comment-13146022 ] 

Jake Farrell commented on THRIFT-184:
-------------------------------------

Updated Manifest to now add osgi support. Example below shows active jar in eclipse osgi container

jake:java jake$ java -jar eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar -console

osgi> ss

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.6.0.v20100517

osgi> install file:///apache/thrift/trunk/lib/java/build/libthrift-0.8.0.jar
Bundle id is 5

osgi> ss

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.6.0.v20100517
5	INSTALLED   org.apache.thrift_0.8.0

osgi> start 5

osgi> ss

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.6.0.v20100517
5	ACTIVE      org.apache.thrift_0.8.0

osgi> 
                
> Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
> ----------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-184
>                 URL: https://issues.apache.org/jira/browse/THRIFT-184
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Java - Library
>            Reporter: Siamak Haschemi
>            Assignee: Jake Farrell
>            Priority: Trivial
>         Attachments: bnd-0.0.249.jar, libthrift.bnd, osgi.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> To be able to use Thrift in the OSGi runtime (see http://en.wikipedia.org/wiki/OSGi), some additional Manifest entries are needed. The bnd-tool (see http://www.aqute.biz/Code/Bnd) creates this entries automatically.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira