karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yogesh Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5088) Support override tag in feature <config/> element
Date Fri, 14 Apr 2017 18:24:41 GMT

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

Yogesh Rao commented on KARAF-5088:

considering  override="true" needs to be added, config element also supports append="true".
Just wondering using append="true" and override="true" together would make any sense.

<config name="com.foo.bar" append="true" override="true">
  myProperty = myValue

With above as an example would it mean if myProperty is found it would get overwritten with
value as "myValue" and if the property is not found then gets appended to the config file.

> Support override tag in feature <config/> element
> -------------------------------------------------
>                 Key: KARAF-5088
>                 URL: https://issues.apache.org/jira/browse/KARAF-5088
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
> As we have for {{<configfile/>}}, it would make sense to support override for {{<config/>}}
element in features.

This message was sent by Atlassian JIRA

View raw message