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

Allow recusive variable references to be applied as substitution then assignment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 2.2.4
    • None
    • None
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            earcam Caspar MacRae
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: