hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HADOOP-6484) OSGI headers in jar manifest
Date Tue, 14 Feb 2012 15:38:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207781#comment-13207781

Jean-Baptiste Onofré commented on HADOOP-6484:

Hi Steve,

1/ patch is on the way ;)
2/ for the tests, I plan to provide itests using Karaf pax-exam. Thanks to Karaf pax-exam,
we are able to bootstrap a Karaf container, execute some commands in the Karaf shell console,
and deploy some features (like the Hadoop one)
3/ right, we have to setup a security manager in Karaf. I could enhance the Karaf security
framework to handle that in an elegant way.
4/ ok, let me try on my side, else it's not a big deal ;)
> 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
> 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


View raw message