Karaf 3.0.1 feature Repo config

2014-04-17 Thread agrz
Hi, I installed Karaf 3.0.1 and while testing our bundles on it I found a changed behaviour in the configuration of feature repositories. While in Karaf 3.0.0 it was possible to add additional repos in featuresRepositories property in org.apache.karaf.features.cfg and they are available after a

Re: Karaf 3.0.1 feature Repo config

2014-04-17 Thread agrz
Sorry, forget it. I just found out this works as intended and is the same behavior as before. Repos are added after bundle cache is cleared Regards Alexander -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-1-feature-Repo-config-tp4032825p4032826.html Sent from the

Re: Unable to install Apache Cellar Snapshot 3.0 into Karaf 3.0

2014-04-17 Thread markus
Hi Achim! I have the same problems as Arun. I'm trying to install cellar 3.0.0-SNAPSHOT on karaf 3.0.1 but receive a bunch load of exceptions after entering feature:install cellar. Is there a solution now? The karaf installation is fresh and there are no other bundles installed. Regards,

Re: Karaf console command enhancements for osgi

2014-04-17 Thread Jon Anstey
Ah of course, I see how this could be handy now. We'll leave the ticket open then :-) On Wed, Apr 16, 2014 at 11:13 PM, Jamie G. jamie.goody...@gmail.com wrote: In regards to #2 the '-s' start flag operates on all the bundles listed, it would appear to be fare game to set a list of bundles to

Re: Unable to install Apache Cellar Snapshot 3.0 into Karaf 3.0

2014-04-17 Thread Achim Nierbeck
Hi, I just gave it another try. I grabbed the latest sources and did a mvn clean install. After that I added the cellar feature repo with feature:repo-add mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0-SNAPSHOT/xml/features after that a feature:install cellar did finish without any issues

Re: Feature repositories in child instances

2014-04-17 Thread Tim Moloney
Thanks for pointing me in the right direction. Tim On Thu, Apr 17, 2014 at 11:19 AM, Achim Nierbeck bcanh...@googlemail.com wrote: If you clone the root instance your modifications are transferred to the cloned instances too. If you create a new instance it's like unzipping the karaf zip

Re: Feature repositories in child instances

2014-04-17 Thread Tim Moloney
You said that using instance:clone is like unzipping the Karaf zip artifact. Does is actually unzip the Karaf zip artifact? If I'm running Karaf on a machine without an Internet connection, will I have to have the Karaf zip artifact in one of my repositories? Can I override which artifact it

Re: Karaf console command enhancements for osgi

2014-04-17 Thread rich.peters
Jon, thanks for looking at this. It will make our scripting very easy. Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032840.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf console command enhancements for osgi

2014-04-17 Thread rich.peters
Jamie, thanks for add the feature request. The export doesn't really work for what I need, but the new feature proposed will be just great. Thanks Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032841.html

RE: Unable to install Apache Cellar Snapshot 3.0 into Karaf 3.0

2014-04-17 Thread Arockiamary, Arun Manivannan
This is great news. Thanks !! From: Achim Nierbeck [mailto:bcanh...@googlemail.com] Sent: Thursday, April 17, 2014 8:42 PM To: user@karaf.apache.org Subject: Re: Unable to install Apache Cellar Snapshot 3.0 into Karaf 3.0 Hi, I just gave it another try. I grabbed the latest sources and did a

Re: Feature repositories in child instances

2014-04-17 Thread Achim Nierbeck
No it's the other way round. If you use clone the root instance is cloned. If you use create it is literally like unzipping but its not actually doing so. Regards, Achim sent from mobile device Am 17.04.2014 17:48 schrieb Tim Moloney tim.molo...@gmail.com: You said that using instance:clone is

Re: Feature repositories in child instances

2014-04-17 Thread Tim Moloney
So what is create actually doing? Can I control the configuration files that it creates? Thanks, Tim On Thu, Apr 17, 2014 at 12:31 PM, Achim Nierbeck bcanh...@googlemail.com wrote: No it's the other way round. If you use clone the root instance is cloned. If you use create it is literally

Re: Feature repositories in child instances

2014-04-17 Thread Achim Nierbeck
No, it's creating a clean installation of a Karaf setup, without any previous knowledge, if you need a new instance that is almost the same as the one you already have, use clone, it copies also all configurations. regards, Achim 2014-04-17 18:37 GMT+02:00 Tim Moloney tim.molo...@gmail.com:

Re: Feature repositories in child instances

2014-04-17 Thread Tim Moloney
So all 37 files in the etc directory and the 6 files in the bin directory are hard-coded into Karaf somewhere? I can create a new instance using instance:clone, but then there doesn't appear to be a way to start a feature programatically. On Thu, Apr 17, 2014 at 1:57 PM, Achim Nierbeck

Re: Feature repositories in child instances

2014-04-17 Thread Achim Nierbeck
Hi, I think it's best to take a look at the sources :) You'll find the create at [1] and the clone at [2]. regards, Achim [1] -

Re: Feature repositories in child instances

2014-04-17 Thread Tim Moloney
The files created using instance:create are hard-coded as resources in org.apache.karaf.instance.core-3.0.1.jar and there doesn't appear to be any way to override this. So it appears that I can either use instance:create and I'm stuck with the default configuration files, or I can use