Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We specify which class used to activate the bundle via the Bundle-Activator attribute. Our bundle exports the spell checker service interface using the Export-Package attribute and imports the OSGi core framework and dictionary service interface packages using the Import-Package attribute. (Note: Make sure your manifest file ends in a trailing carriage return or else the last line will be ignored.)

To compile our source, we need to have the felix.jar file (found in Felix' bin directory) and the example2.jar file in our class path. We compile the source file using a command like:

...