The Felix framework integrator provides integration for Apache Felix.
As there is no single downloadable package containing both sources and binary bundles, you need to download all the items separately and specify their location.
Download the binary ZIP or tar archive of Apache Felix
and unpack its felix-<version> subfolder to the desired location.
At the time of this writing the current version of Apache Felix is 1.0.3, so the downloadable binary ZIP or tar contains a folder felix-1.0.3.
- Specify the location of felix-<version> as the base folder for the integrator. The integrator loads the bundle JARs from the bin and bundle subfolders.
- In the base folder, create an src folder with the bin and bundle subfolders.
Copy all source ZIP archives for felix.jar into the src/bin folder.
main-1.0.3.zip and framework-1.0.3.zip should be put here.
Unfortunately, sources for some classes in felix.jar are missing in the archives and you'll have to additionally download some files, such as org.osgi.core-1.0.0.zip, and put them here to get the sources for all classes.
Store the source ZIP archives for the other bundles in the src/bundle folder.
Do not change the source ZIP of any of the bundles. The integrator expects to find the Felix specific folder structure inside them. A source ZIP named mybundle-1.00.zip will contain the sources in the folder mybundle-1.00/src/main/java.