Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-16 Thread Jean-Baptiste Onofré
Yes, it's the goal. admin:clone is available since Karaf 2.2.4 or so. Regards JB On 05/16/2012 12:03 PM, Christian Schneider wrote: I think the clone command might be good enough. So you could >instance:create template .. add the configurations necessary >instance:clone instance1 That migh

Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-16 Thread Christian Schneider
I think the clone command might be good enough. So you could >instance:create template .. add the configurations necessary >instance:clone instance1 That might already be good enough. Christian Am 16.05.2012 11:56, schrieb Jean-Baptiste Onofré: Just a reminder. The purpose of child instance

Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-16 Thread Jean-Baptiste Onofré
Just a reminder. The purpose of child instance is to create: - atomic instances - isolated from others instances (including the root one) That's why an child instance (at creation) doesn't inherit from the root one (it's a "embedded" bootstrap). We introduced the clone command to create child

Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-16 Thread Christian Schneider
Another way would be to use the org.ops4j.pax.url.mvn.cfg from the root instance. I think the maven settings are typically global and will not change from instance to instance. What do you think? Christian Am 16.05.2012 11:26, schrieb Ulhas Bhole (OS): Hi Christian, I have came across the sa

Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-16 Thread Ulhas Bhole (OS)
Hi Christian, I have came across the same issue you mentioned about the child instances not having full set of maven repos. I think the approach you mentioned of using template is a good idea. I always felt it reduces the benefit of having child instance command greatly if it can't be used str

Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-15 Thread Christian Schneider
Hi Jamie, this is a quick fix to get the instance commands working again. I wonder why I did not see the test failure. Will investigate this tomorrow. The reason why I added the ssh feature is that the feature config we copy from the assembly only contains the config feature but we need ssh

Re: svn commit: r1338657 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

2012-05-15 Thread Jamie G.
I'm not sure on this check in. When I build trunk I get: Failed tests: testHandleFeatures(org.apache.karaf.instance.core.internal.InstanceServiceImplTest): expected: but was: Which can be resolved by updating trunk/instance/core/src/test/java/org/apache/karaf/instance/core/internal/InstanceSer