|
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
|
|
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 |
|
Clone function (admin:clone) already exists in 2.2.x.
Regards JB On 06/17/2012 08:38 AM, Christian Schneider wrote: > 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 > > -- Jean-Baptiste Onofré [hidden email] http://blog.nanthrax.net Talend - http://www.talend.com |
|
Thanks Christian and Jean-Baptiste. This is a great design and I just wasn't aware. -tony On Jun 17, 2012 2:45 AM, "Jean-Baptiste Onofré" <[hidden email]> wrote:
Clone function (admin:clone) already exists in 2.2.x. |
|
I've tried admin:clone on both 2.2.8-SNAPSHOT and 2.3.0-SNAPSHOT without any luck. It
claims command not found for "admin:clone". -tony
On Sun, Jun 17, 2012 at 12:39 PM, Anthony Bargnesi <[hidden email]> wrote:
|
|
I added clone command on trunk but I forgot to merge it on branches.
I will merge it in 2.3.x. Regards JB On 06/18/2012 12:33 AM, Anthony Bargnesi wrote: > I've tried admin:clone on both 2.2.8-SNAPSHOT and 2.3.0-SNAPSHOT without > any luck. It > claims command not found for "admin:clone". > > -tony > > On Sun, Jun 17, 2012 at 12:39 PM, Anthony Bargnesi <[hidden email] > <mailto:[hidden email]>> wrote: > > Thanks Christian and Jean-Baptiste. This is a great design and I > just wasn't aware. > > -tony > > On Jun 17, 2012 2:45 AM, "Jean-Baptiste Onofré" <[hidden email] > <mailto:[hidden email]>> wrote: > > Clone function (admin:clone) already exists in 2.2.x. > > Regards > JB > > On 06/17/2012 08:38 AM, Christian Schneider wrote: > > 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 > > > > > -- > Jean-Baptiste Onofré > [hidden email] <mailto:[hidden email]> > http://blog.nanthrax.net > Talend - http://www.talend.com > > -- Jean-Baptiste Onofré [hidden email] http://blog.nanthrax.net Talend - http://www.talend.com |
| Powered by Nabble | Edit this page |
