You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org> on 2012/02/19 19:24:36 UTC

[jira] [Updated] (HADOOP-6484) OSGI headers in jar manifest

     [ https://issues.apache.org/jira/browse/HADOOP-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated HADOOP-6484:
-----------------------------------------

    Attachment: HADOOP-6484.patch

First patch for the hadoop-common-project, and basement of the other following patches.

It includes:
- turn all Hadoop common modules as OSGi bundles
- add a Karaf features ready to be deployed
                
> OSGI headers in jar manifest
> ----------------------------
>
>                 Key: HADOOP-6484
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6484
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Leen Toelen
>         Attachments: HADOOP-6484.patch
>
>
> When using hadoop inside an OSGI environment one needs to change the META-INF/MANIFEST.MF file to include OSGI headers (version and symbolic name). It would be convenient to do this in the default build.xml. 
> There are no runtime dependencies.
> An easy way of doing this is to use the bnd ant task: http://www.aqute.biz/Code/Bnd
> <target name="build"> 
>    <taskdef resource="aQute/bnd/ant/taskdef.properties"
>       classpath="bnd.jar"/> 
>    <bnd 
>       classpath="src" 
>       eclipse="true" 
>       failok="false" 
>       exceptions="true" 
>       files="test.bnd"/> 
>  </target>

--
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