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

scanFeatures is incompatible with editing the etc/org.apache.karaf.features.cfg file

    Details

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

      Description

      KarafTestContainer#updateUserSetProperties(File karafHome, ExamSystem subsystem) overwrites any other editConfigurationFilePut options placed on etc/org.apache.karaf.features.cfg with the features to be installed.

      So this means that if I wanted to strip away the default JBI features from ServiceMix (all the JBI SEs, BCs, etc.) and install the camel-jetty feature at the same time using scanFeatures, only the scanFeature option prevails.

      The related paxexam-karaf issue is: https://github.com/openengsb/labs-paxexam-karaf/issues/15

        Attachments

          Activity

            People

            • Assignee:
              pieber Andreas Pieber
              Reporter:
              pieber Andreas Pieber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: