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 thebinandbundlesubfolders.
-
In the base folder,
create an
srcfolder with thebinandbundlesubfolders. -
Copy all source ZIP archives for
felix.jarinto thesrc/binfolder.main-1.0.3.zipandframework-1.0.3.zipshould be put here.Unfortunately, sources for some classes in
felix.jarare missing in the archives and you'll have to additionally download some files, such asorg.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/bundlefolder.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.zipwill contain the sources in thefolder mybundle-1.00/src/main/java.