Details

    • Type: Question
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0, 4.0.6
    • Component/s: karaf
    • Labels:
      None

      Description

      The Karaf 4 documentation mentions the ability to script:

      It's possible to create objects to create commands "on the fly":

      karaf@root()> addcommand system (($.context bundle) loadClass java.lang.System)

      However this does not work, and displays the following error message:

      Command not found: addcommand

      Is the documentation outdated, and if so what's the new way to achieve the same result?

      Thanks.

        Attachments

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              ShawnE ShawnE
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: