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

Portable way to make custom shell commands (without inheriting from OsgiCommandSupport)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 4.1.0
    • karaf
    • None
    • All

    Description

      I would like to be able to create osgi shell commands that work across karaf and standard osgi implementations like felix, eclipse (both using gogo). When deployed in karaf, the shell commands should support completion and the other karaf specific features and when deployed in plain felix just work as in the standard. Currently, karaf makes this difficult as commands must extend from karaf specific OsgiCommandSupport class. I would like a way to support karaf using some karaf specific configuration outside the command classes that should use standard OSGI stuff only.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              mmc41 Morten Christensen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: