karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3949) Be able to load System properties from another file than etc/system.properties
Date Mon, 24 Aug 2015 13:52:46 GMT

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

Guillaume Nodet commented on KARAF-3949:
----------------------------------------

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)

Mime
View raw message