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 2017/04/07 20:58:41 UTC

[jira] [Commented] (KARAF-5082) add "location" attribute to config feature tag

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

Guillaume Nodet commented on KARAF-5082:
----------------------------------------

Rather than
{code}
<config name="whatever" location="mvn:some.groupid/1.0.0/cfg"/>
{code}

I'm going to use:
{code}
<config name="whatever" external="true">
  mvn:some.groupid/1.0.0/cfg
</config>
{code}

This will be closer to the {{<configfile>}} element.


> add "location" attribute to config feature tag
> ----------------------------------------------
>
>                 Key: KARAF-5082
>                 URL: https://issues.apache.org/jira/browse/KARAF-5082
>             Project: Karaf
>          Issue Type: New Feature
>    Affects Versions: 4.1.1
>            Reporter: Jean-Philippe CLEMENT
>            Assignee: Guillaume Nodet
>             Fix For: 4.2.0
>
>
> This addition follows KARAF-4829. In order to get synchronous configuration file, the <config> tag should be used instead of <configfile>.
> At present time <config> does not allow to use external files as <configfile> does. Using several external files might be more handy (and short) than inlining the configuration in the <config> tag.
> I would be a real nice addition to add a location attribute to <config>, for instance:
> <config name="whatever" location="mvn:some.groupid/1.0.0/cfg"/>
> Thank you!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)