Dear JB,

> Do you already know what you have in mind (if you could describe the use
case, that would be great) ?

I know that this could be silly problem, but I'm new to Karaf, new to
Bndtools and new to OSGi (I begun my research week ago).
That is why I decided to search for tutorials and examples first.
But if you ask (it's very kind), then I have two use cases:

Case 1:
Background:
I've learnt how to use Bndtools workspace in Eclipse and how to run
examples directly in Eclipse IDE (https://bndtools.org/tutorial.html).
Unfortunatelly, default OSGi runtime is Felix with Gogo shell.
Problem:
How to configure Bndtools workspace to use Karaf (that I have somewhere in
my filesystem) instead of default Felix runtime?

Case 2:
Background
I've learn how to use Bnd Gradle plugin (
https://github.com/bndtools/bnd/tree/master/biz.aQute.bnd.gradle#replacing-use-of-gradles-deprecated-osgi-plugin)
to create bundles and I used Gradle's maven publish plugin to publish them
to Maven's local repo. Then I install them in Karaf one by one using
bundle:install mvn:xxx/yyy/zzz command
Problem:
a) How to create set of bundles (feature) in Bnd?
b) How to deploy this to Karaf without manually executing bundle:install
commands?

Thank you in advance,
Kamil


On Thu, Feb 14, 2019 at 1:37 PM Jean-Baptiste Onofré <[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]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to