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 <[email protected]>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é" <[email protected]> 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é >> [email protected] >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >
