[
https://issues.apache.org/jira/browse/KARAF-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665173#comment-13665173
]
Achim Nierbeck commented on KARAF-1549:
---------------------------------------
Ok, the reason for those "strange" looking configuration files is the
following.
The templates used for the creating a new instance is used from the std. karaf
templates. Since the usage of the new features plugin those templates only
contain the config feature as boot feature everything else is added to the
features during assembly time, and only for the full version. The minimal
Version of Karaf only contains config and framework.
So basically this only depends on the "root" instance, if it's a minimal
version it should also include the framework as boot feature, if it's a full
version it should contain more. The next question is, do we want to create a
"clone" of the root instance, I don't think so, so we need to differ somehow
between a original minimal and full instance ...
> Child instance features cfg file looks weird
> --------------------------------------------
>
> Key: KARAF-1549
> URL: https://issues.apache.org/jira/browse/KARAF-1549
> Project: Karaf
> Issue Type: Bug
> Components: karaf-feature, karaf-instance
> Affects Versions: 3.0.0
> Reporter: Jean-Baptiste Onofré
> Assignee: Achim Nierbeck
> Fix For: 3.0.0
>
> Attachments: karaf-3.0_1549.diff
>
>
> In a child instance, the etc/org.apache.karaf.features.cfg file looks weird,
> and completely different from the root instance:
> featuresBoot=config,ssh
> featuresRepositories=mvn\:org.apache.karaf.features/standard/3.0.0-SNAPSHOT/xml/features,mvn\:org.apache.karaf.features/enterprise/3.0.0-SNAPSHOT/xml/features
> More over, the etc/org.apache.karaf.features.obr.cfg and
> etc/org.apache.karaf.features.repos.cfg files are not present in the child
> instances, whereas they should be here.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira