In my opinion there is more than this. Having worked with both they bring different things to the table because I love the static build time checks that bnd brings and I love that it produces a single jar output. From karaf I find it really easy to add features, and capabilities that are well tested by the community. With bndtools I know every library and keep them updated manually in my bndrun file (I do not use eclipse). This keeps my build small and takes away problems like having 3 features bring in 3 different json libraries but at the expense of having to micromanage dependencies and making things more complicated for the younger developers on my team that are new to OSGI. I think there is a reason open source projects like openhab and opendaylight have chosen karaf for a modular system that many developers can get started with. I commented on the other thread about a static build for karaf for docker. What I would really like to see is karaf make sure its features are buildable in a compatible way with the new osgi features spec so I can use some of the well tested karaf features. I would also like to see a good standard choice for creating the configuration of those features. I am hoping that brings the two communities closer to compatibility.
David Daniel On Thu, Feb 14, 2019 at 8:03 AM Jean-Baptiste Onofré <[email protected]> wrote: > Thanks ! > > I'm happy to see that finally bndtools went to Maven space ;) > > Regards > JB > > On 14/02/2019 13:59, Raymond Auge wrote: > > > > > > On Thu, Feb 14, 2019, 07:46 Jean-Baptiste Onofré <[email protected] > > <mailto:[email protected]> wrote: > > > > Hi Ray, > > > > does it mean that bundle can be created in bndtools, then upload in a > > Maven repository, > > > > > > Yeah, whatever you can do in Maven/m2e is available. > > > > and installed in Karaf ? > > > > > > not sure if you are referring to a realtime, seamless operation here > > during development or just install later. > > > > - install later; no problem at all > > - seamless, realtime install during development; will need a small bit > > of work > > > > Maybe the only missing piece is that bndtools generate a features > XML to > > have a complete story. > > > > > > Yeah, if there's a Maven tooling for this , you could just use it. > > However, if there's need for a specific integration, maybe in the next > > dev cycle I could lend a hand to build this. > > > > Sincerely, > > - Ray > > > > > > Regards > > JB > > > > On 14/02/2019 13:44, Raymond Auge wrote: > > > Perhaps it would be better, rather than switching to the BND > Workspace > > > model to simply use the BND/Bndtools Maven/m2e support. It's very > good > > > now and has parity in large part with the BND Workspace. The > upcoming > > > release especially should break lots of barriers. > > > > > > Just a suggestion. > > > > > > - Ray > > > > > > On Thu, Feb 14, 2019, 07:37 Jean-Baptiste Onofré <[email protected] > > <mailto:[email protected]> > > > <mailto:[email protected] <mailto:[email protected]>> wrote: > > > > > > Hi, > > > > > > We didn't move forward a lot. I remember there was some > > discussion to > > > have a "Karaf exporter" in bndtools and I proposed my help on > > this. > > > I didn't move forward yet. > > > > > > Do you already know what you have in mind (if you could > > describe the use > > > case, that would be great) ? > > > > > > Regards > > > JB > > > > > > On 14/02/2019 13:20, kamilantlgc wrote: > > > > Dear Karaf User group, > > > > > > > > I have stumbled upon the exact problem - how to join Karaf > and > > > Bndtools > > > > together "the right way" (this conversation is the first > > result in > > > Google by > > > > the way: https://www.google.com/search?q=karaf+bnd). > > > > > > > > I've read the topic and was happy to see that Guillaume > asked to > > > fill Jira > > > > issue. > > > > Then I've read with interest that JB is just "building the > new > > > SNAPSHOT to > > > > test if the couple of issues". > > > > And then I navigated to the issue created by dleangen > > > > (https://issues.apache.org/jira/browse/KARAF-4160) just to > see > > > that it's > > > > status is "Won't fix"... > > > > > > > > Anyway - does anybody on this group already figured it out > > how to > > > join Karaf > > > > and Bnd to play nicely together? > > > > > > > > Kind regards, > > > > Kamil > > > > > > > > > > > > > > > > -- > > > > Sent from: > > http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > > > > > > > > > > -- > > > Jean-Baptiste Onofré > > > [email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>> > > > http://blog.nanthrax.net > > > Talend - http://www.talend.com > > > > > > > -- > > Jean-Baptiste Onofré > > [email protected] <mailto:[email protected]> > > http://blog.nanthrax.net > > Talend - http://www.talend.com > > > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
