How to create an osgi fragment with Bnd?

Today I had a deeper look at bndTools for Eclipse. I had a good start, but I ask myself if osgi fragments can be created using bndTools or bnd . From the description of the bnd project, he tells me that the Fragment-Host header is ignored by bnd, but has not figured out what this means.

Does anyone know if it is possible to create an osgi fragment using bnd, and if so, how to do it?

Regards Marcus

+3
source share
2 answers

A set of fragments is special in only two ways:

  • it cannot be started, therefore it should not contain a title Bundle-Activatorand
  • Fragment-Host , .

, , , bnd - . bnd "" , , .

Bndtools (.. , Bndtools) Source.

+9

bnd , . Fragment-Host, , . -.

+2

All Articles