karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3262) Being able to use ${karaf.etc} in feature <configfile/> element
Date Mon, 06 Oct 2014 11:43:34 GMT

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

Jean-Baptiste Onofré commented on KARAF-3262:

It sounds good to me as well. Maybe directly using system properties in the finalname is clearer.

> Being able to use ${karaf.etc} in feature <configfile/> element
> ---------------------------------------------------------------
>                 Key: KARAF-3262
>                 URL: https://issues.apache.org/jira/browse/KARAF-3262
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.3, 2.4.1
> The <configfile/> element in a feature accepts a finalname attribute to define
where the configfile has to be copied.
> However, finalname is relative to ${karaf.base}, whereas it should be able to use ${karaf.etc}
(and so relative to ${karaf.etc}).
> In order to be backward compatible, if finalname starts with /etc/ it will be relative
to ${karaf.base}, else it will be related to ${karaf.etc}.

This message was sent by Atlassian JIRA

View raw message