javaeclipseosgieclipse-gemini

How to extend the BndTool Repository with additional bundles?



I try to add the gemini blueprint bundles to the bndTool Repository. Unfortunately I could not find out how this works.
I have downloaded the Gemini Blueprint bundles and have tried to add them as an additional repository (zipping the bundles).
The "Osgi Bundle Repositories" dialog in eclipse seems the place to add additional repositories, but that did not work. It asks for an xml or zip archive, but I could not find out the format of the xml or the format of the zip archive. Zipping just all gemini bundles and adding the zip did not work.

Does someone know how to add an additional repository or knows the featured way off adding 3rd party bundles to the bnd repository?

Thanks


Solution

  • You take the bundles, and drop them on your repository in the "Repositories" view to add them to Bndtools' basic repository.

    If you want to refer to other repositories, you can use bnd's plugin mechanism to do this. In cnf/build.bnd, there is a line pointing to the plugins:

    -plugin:        aQute.lib.deployer.FileRepo;location=${repo}
    

    You can add multiple plugins, thus using more than one repository, by comma-separating them.