Hi,

I'm sure others will give you a more detailed answer, but here's a quick
pointer.

list+org.o...@io7m.com a écrit le 03/02/2017 à 15:55 :
> Is there a library out there that can do this kind of work for me?

Yes, you seem to be describing exactly what the Resolver service does;
it has an implementation in Felix, and is used externally by bnd/bndtools.

> Am I destined for utter failure using this approach?

Well, yes and no. The resolver has some performance issues when there
are many bundles and versions of the same bundles, but in general, it
works and should work.

The PDE Eclipse launcher has been doing the same thing for about 10
years, that is finding the closure of required bundles. Now it was
pretty bad at handling specific cases (optional bundles were a global
yes or no; also on a smaller space because in Eclipse most bundles are
singletons, so no two versions will exist concurrently, and because they
use Require-Bundle).

The current Resolver and approach used by bnd is better, but not perfect
(some details in previous mails by Ray & others).

Have you given a try to Bndtools, because that's how it helps you create
your "executables"?

Hope this helps,
Simon


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to