Creating fragment projects
Fragments extend bundles with resources, classes, and permitted headers, which you can use to customize your bundles.
Procedure
-
Click Next.
and then
click The New OSGi Fragment Project wizard opens.
- In the Project name field, enter the name of your fragment project.
-
Select a Target runtime from the drop-down
list.
Set the target run time to define an installed runtime environment. Run times are used at build time to compile projects.
-
Select a Fragment host from the drop-down
list.
The fragment host links the fragment to its potential bundle hosts. Click Finish.
Results
Your OSGi fragment project is created and your fragment
manifest, META-INF/MANIFEST.MF
, is added to your
project. For more information about the fragment manifest file, see OSGi fragment manifest files.
For more information about OSGi fragments, see the following subtopics: