[
https://issues.apache.org/jira/browse/HADOOP-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203644#comment-13203644
]
Steve Loughran commented on HADOOP-6484:
----------------------------------------
# The patch sounds good; Karaf + Hadoop good too.
# What is the test plan? I could imagine an existing in-junit test that looks
for the manifest entries, while presumably there is some karaf+hadoop thing too.
# Be aware that -from my own experience- what Hadoop does with security is
strongly incompatible with other java container security, which could cause
problems, but you will need a security manager to catch System.exit() calls.
# Regarding the JIRA assignment, I tried by giving you developer rights on the
project, and, when that didn't seem to do anything, put you in the
all-developers group. I still can't seem to assign it to you -perhaps you could
log out, log in and try to assign it to yourself. Otherwise, well, you are JIRA
administrator so may stand a better chance of fixing this than I can.
> 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