Karaf
  1. Karaf
  2. KARAF-1765

The obr Shell Deploy And Start Commands Always Deploy Optional Dependencies

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.9
    • Fix Version/s: 2.2.10, 2.3.0, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      The obr:deploy and obr:start commands always deploy optional dependencies which is not ideal. It should be possible (as an option) to be able to choose whether optional dependencies are deployed.

      As well, the default behaviour should be consistent with the karaf obr feature resolver and the OBR web plugin where optional dependencies are not installed by default.

      1. KARAF-1765.txt
        5 kB
        Gareth Collins

        Activity

        Hide
        Gareth Collins added a comment -

        Attached is a fix for this which updates both the obr:deploy and obr:start commands. Now obr:deploy has the following options:

        OPTIONS
        -s, --start
        Start all deployed bundles
        -d, --deployOptional
        Deploy optional bundles
        --help
        Display this help message

        Show
        Gareth Collins added a comment - Attached is a fix for this which updates both the obr:deploy and obr:start commands. Now obr:deploy has the following options: OPTIONS -s, --start Start all deployed bundles -d, --deployOptional Deploy optional bundles --help Display this help message
        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1393973
        Show
        Jean-Baptiste Onofré added a comment - Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1394028
        Show
        Jean-Baptiste Onofré added a comment - Fixed on karaf-2.2.x: http://svn.apache.org/viewvc?view=revision&revision=1394077

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Gareth Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development