Re: materialize bundles?

2017-05-18 Thread Scott Lewis
On 5/17/2017 11:24 PM, Guillaume Nodet wrote: Not really. What would be the use of such a directory ? It could be used to develop to and package custom distributions that are based upon Karaf and other projects...for example OpenHab. Using that as the deploy folder for a newly created insta

Re: materialize bundles?

2017-05-18 Thread Guillaume Nodet
The karaf maven plugin is perfectly suited to create custom distributions. We do use it to create the karaf official distributions, so unless something is missing, I'd suggest having a look at it. See for example: https://github.com/apache/karaf/blob/master/assemblies/apache-karaf-minimal/pom.xml#

Re: materialize bundles?

2017-05-18 Thread Scott Lewis
On 5/18/2017 3:26 PM, Guillaume Nodet wrote: The karaf maven plugin is perfectly suited to create custom distributions. We do use it to create the karaf official distributions, so unless something is missing, I'd suggest having a look at it. See for example: https://github.com/apache/karaf/bl

Re: materialize bundles?

2017-05-18 Thread Scott Lewis
One more question: The pom you pointed me to: https://github.com/apache/karaf/blob/master/assemblies/apache-karaf-minimal/pom.xml#L102-L148 Seems to be the 'karaf minimal' or 'karaf boot' (not sure if these are the same thing), but the version appears to be 4.2...which is not out yet. Wh

Re: materialize bundles?

2017-05-18 Thread Christian Schneider
karaf-minimal is just a smaller distro then the normal karaf. It is released for each version of karaf. I guess Guillaume pointed you to this as an example of how to create your own custom distro. There is no support to start karaf with a target platform. In practice debugging karaf distributions

Re: materialize bundles?

2017-05-18 Thread Christian Schneider
bundle:watch * is also very useful. See http://karaf.apache.org/manual/latest/#_watch So while debugging you can do mvn install on the single project after making changes to it. Karaf will then automatically updated the bundle(s) you built. This even works without disconnecting the debugger. So i