Karaf
  1. Karaf
  2. KARAF-1070

Allow recusive variable references to be applied as substitution then assignment

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      I tried adding the following to custom.properties:

      org.osgi.framework.bootdelegation = ${org.osgi.framework.bootdelegation}, org.bouncycastle.*
      

      In the hope that it would do substitution then assignment, but I get an illegal arg exception "recursive variable reference: org.osgi.framework.bootdelegation" (at org.apache.karaf.main.Main.substVars(Main.java:1201))

      If the above were possible our custom distro would extend rather than overwrite the standard Karaf settings - which would make custom distros a bit more resilient (I'm somewhat fearful I'll miss a change in config, even when running diffs on the stock and custom cfg files).

      (btw creating a custom distro is incredibly easy and a really cool feature, thanks)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Caspar MacRae
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development