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

"Extending the console" documentation still refers to org.osgi.service.command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1, 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      These documentation:

      Is out of date, since org.osgi.service.command need to be replaced with org.apache.felix.service.command since Karaf 2.2.

      I've commented here: https://cwiki.apache.org/confluence/display/KARAF/6.1.+Extending+the+console?focusedCommentId=26119164&#comment-26119164

      I couldn't update the article due to insufficient permissions. If you want to assign me permissions, my Confluence username is "ceefour".
      I've also signed the CLA: http://people.apache.org/committer-index.html#unlistedclas under name Hendy Irawan.

      UPDATE: after actually testing it, it seems org.apache.felix.service.command CANNOT be resolved.

      https://issues.apache.org/jira/browse/KARAF-600

      The strange thing is the package is actually exported by org.apache.karaf.shell.console (2.2.0) :

      • import org.apache.felix.service.command: WARNING - unable to find matching export

      karaf@bipposhell> packages:exports 22
      ID Packages
      22 org.apache.felix.gogo.runtime.threadio
      22 org.apache.felix.gogo.commands
      22 org.apache.felix.gogo.commands.converter
      22 org.apache.felix.gogo.runtime.activator
      22 org.apache.felix.gogo.commands.basic
      22 org.apache.felix.gogo.runtime
      22 org.apache.felix.service.command
      22 org.apache.felix.service.threadio
      22 org.apache.karaf.shell.console.jline
      22 org.apache.karaf.shell.console
      22 org.apache.karaf.shell.console.commands
      22 org.apache.karaf.shell.console.completer
      22 org.fusesource.jansi
      22 jline.console.history
      22 jline
      22 jline.console.completer
      22 jline.console
      22 jline.internal
      22 org.fusesource.hawtjni.runtime

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              ceefour Hendy Irawan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: