Sander de Groot wrote:
> Does anybody know wether it is possible to create a custom resolver?

Yes, but hardly advisable unless you have Way Too Much Time™ on your hands.

> I've searched for these kind of things and found OBR(?) but 
> unfortunately topics aren't too clear on this subject.

OBR is for now under-specified and only implemented in the most simplistic
way. There is active work going on in the OSGi working group to make it
more practical.

> My context is as follows: I've a cluster of servers (OSGi) and I want to 
> deploy a new application to each of these servers. These new 
> applications however sometimes have dependencies which are not installed 
> on the (OSGi) server in question. In these cases I want the server to 
> handle the missing dependencies by looking in a central repository. If 
> the dependency is found then it should be installed if not: throw the 
> unresolved dependencies exception.

<shameless commercial plug>
http://www.paremus.com/products/products_nimble.html

Nimble uses the metadata present in every bundle and resolves
dependencies, taking special care of optionality and situations that are
impossible to resolve automatically due to any ambiguities.

I use this every day - including hot-updating bundles from my maven repo
into a running runtime - and haven't manually installed bundle
dependencies in forever. Disclaimer: I work for the company, but not
directly on Nimble.

If you think you can reinvent this on your own..good luck. :)

Holger


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to