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

Karaf Client Script to recognise a delimiter (: or ;) so that multiple commands can be executed at once

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • 4.0.0.M1
    • 3.0.1
    • karaf
    • None
    • Any Operating system

    Description

      The Karaf bin/client command can be used to connect to the karaf shell and execute one command at a time.

      Scenario:
      If I wanted to install 10 bundles at a time, I would have to run the client command 10 times, each time passing in the argument one by one.

      So time to install a bundle is = connect time + install time + disconnect time.
      time to install 10 bundles is = 10 * (connect time + install time + disconnect time).

      Wish:
      is to be able to give multiple commands at a time like

      bin/client "install bundle1; install bundle2; install bundle3; install bundle4;..."

      so that time to install 10 bundles would be now
      =connect time + (10 * install time) + disconnect time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            affkar1984 Karthick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: