Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-380

Add .jar deployer autowrapping non-bundle-jar files dropped to deploy folder

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      See http://mail-archives.apache.org/mod_mbox/karaf-dev/201101.mbox/browser for full discussion; short summary:

      My concern is to deploy clients JARs like by example JARS used by project Apache Hadoop

      If we detect a file in the deploy/ directory with the extension '.jar', AND the JAR's manifest does NOT contain any OSGi headers, THEN we assume that it's a plain-old-jar, and perform an auto-wrap.

      Using the OSGi ranking attribute on services should be sufficient in order to keep them ordered.

      And checking the 'jar' extension would clearly remove most of the bad situations for that case.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              pieber Andreas Pieber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: