Allow recusive variable references to be applied as substitution then assignment
--------------------------------------------------------------------------------

                 Key: KARAF-1070
                 URL: https://issues.apache.org/jira/browse/KARAF-1070
             Project: Karaf
          Issue Type: Improvement
    Affects Versions: 2.2.4
            Reporter: Caspar MacRae
            Priority: Minor


Hi,


I tried adding the following to custom.properties:

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

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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to