karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1070) Allow recusive variable references to be applied as substitution then assignment
Date Thu, 01 Dec 2011 10:59:40 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Pieber resolved KARAF-1070.
-----------------------------------

    Resolution: Not A Problem

the bootdelegation property between the system and custom file are already aggregated. There's
no need for referencing them again.
                
> 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

        

Mime
View raw message