Gert Vanthienen wrote:
L.S.,


If I have an OBR repository.xml file with information about a set of bundles
and I have another bundle x (the jar file) on my machine, is it possible to
programmatically determine which bundles from the repository are required to
fulfill all the requirements of my bundle x?  The goal is to create a Maven
plugin that can automatically determine the entire list of bundles that are
necessary to have a working application based on bundle x.

Could anyone give me a snippet of code or some clue on how to do this?

This is possible. I think you would just need to convert your local bundle metadata into a Resource for OBR, then get a Resolver instance from RepositoryAdmin, add your Resource to it and call Resolver.resolve().

-> richard


Regards,

Gert

-----
---
Gert Vanthienen
http://www.anova.be

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to