This is by design. The new instance by default contains only the feaures of the default karaf installation. If we would always copy all existing features and feature repos then we would also need a method to leave out features.

You can add features during the create command. At least in Karaf 3 there will also be a clone function to clone an existing instance. So you can configure one instance as a kind of template and then create additional instances from it.

Christian

Am 17.06.2012 06:03, schrieb Anthony Bargnesi:
Hello,

I customized my feature repositories in the root config file: etc/org.apache.karaf.features.cfg

featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/2.2.7/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/2.2.7/xml/features,mvn:org.apache.karaf.assemblies.features/extra/1.0.0/xml/features
featuresBoot=config,ssh,management,kar

When I create a new instance only the shipped feature repositories are present. In fact the instance config file
reports:

#Features Configuration
#Sat Jun 16 23:53:35 EDT 2012
featuresBoot=config,ssh,management,kar
featuresRepositories=mvn\:org.apache.karaf.assemblies.features/standard/2.2.7/xml/features,mvn\:org.apache.karaf.assemblies.features/enterprise/2.2.7/xml/features


Why doesn't the child instance inherit the feature repositories from root?


Thanks!
Anthony Bargnesi


--

Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to