You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/08/24 15:53:46 UTC

[jira] [Comment Edited] (KARAF-3949) Be able to load System properties from another file than etc/system.properties

    [ https://issues.apache.org/jira/browse/KARAF-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709318#comment-14709318 ] 

Guillaume Nodet edited comment on KARAF-3949 at 8/24/15 1:52 PM:
-----------------------------------------------------------------

I don't think we should support additional files in the code.
However, we have the {{\$\{includes\}}} and {{\$\{optionals\}}} which do not seem to be supported when loading the {{system.properties}} file.  It should simply be a matter of adding the two calls.


was (Author: gnt):
I don't think we should support additional files in the code.
However, we have the {{${includes}}} and {{${optionals}}} which do not seem to be supported when loading the {{system.properties}} file.  It should simply be a matter of adding the two calls.

> Be able to load System properties from another file than etc/system.properties
> ------------------------------------------------------------------------------
>
>                 Key: KARAF-3949
>                 URL: https://issues.apache.org/jira/browse/KARAF-3949
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>
> We can use etc/system.properties to define System properties.
> The Karaf Main loads (and may override) System properties from this file.
> When we create a custom distribution, and users want to add their own System properties, they have to provision a complete etc/system.properties.
> It makes sense to be able to provision a etc/systemuser.properties without altering the etc/system.properties: Karaf Main can load the System.properties from both, first from etc/system.properties and after from etc/systemuser.properties (optional).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)