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

Guillaume Nodet commented on FELIX-2011:
----------------------------------------

The list of overrides is deternined by the code, so that's not a big problem i 
think.
For the list of files to copy, I think Charles made a good point that the user 
could have copy his own config files to the etc/ folder.  We may even want to 
consider copying the deploy folder and do even more things.
I guess the point is to agree what the outcome of this command should be.  I 
see three possibilities:
  * create a new bare karaf
  * create a new configured instance (such as a new servicemix), that could 
include only known config fles
  * create a clone of an existing instance (which would also include the deploy 
folder and try to go as far as possible in cloning the existing instance
 
What you were talking about is more the second thing, while Charles (as a user) 
is considering the third one.
It may appear that a different strategy is required in order to implement the 
second and third methods.  The last one may be better implemented with a full 
copy of the instance (including the cache of the osgi framework maybe).

> 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.

Reply via email to