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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 4.1.0
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      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

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                mmc41 Morten Christensen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: