felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2011) admin:create use the ${karaf.home}/etc configure files
Date Mon, 08 Feb 2010 10:56:27 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830893#action_12830893

Guillaume Nodet commented on FELIX-2011:

I agree with your pov.  I think the command should do the following:
   * find a list of files to generate from the new instance
   * if the file exists in the source instance (we should be able to specifiy which one if
possible instead of always using the root one, though root would be the default), use it else
use the one from the bundle
   * always filter resources, but use a different strategy for filtering.  Instead of using
a keyword based filtering, use a key-value pair list and each time the file copied contains
the property, override the value with the new value.  But I think we need to preserve the
look and order of the lines in those config files, so we can't really use the Property object
to load/store those.  Gert did the same thing for the new dev:framework, so we should make
that a reusable class.

This would leave the third thing (which is to clone an existing instance instead of creating
a new one *based* on an existing instance) to a later version, but I think this is not too
much of a problem.

What do you think ?

> admin:create use the ${karaf.home}/etc configure files
> ------------------------------------------------------
>                 Key: FELIX-2011
>                 URL: https://issues.apache.org/jira/browse/FELIX-2011
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Willem Jiang
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.4.0
>         Attachments: FELIX2011.patch
> Here is the [discussion|http://cwiki.apache.org/SM/discussion-forums.html#nabble-td27283051]
of this issue.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message