Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6484

OSGI headers in jar manifest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • build
    • None

    Description

      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>

      Attachments

        1. HADOOP-6484.patch
          19 kB
          Jean-Baptiste Onofré

        Issue Links

          Activity

            People

              Unassigned Unassigned
              toelen Leen Toelen
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: