A quick peek

Here's a simple example demonstrating what the utility does. The most important part is the bundle descriptors:

Example 1.1. A simple example (bundle.xml)

<bundle xmlns="http://www.jeremias-maerki.ch/ns/osgi-bundle">
  <name>JM :: Apache FOP OSGi Integration</name>
  <symbolic-name>ch.jm.fop.osgi</symbolic-name>
  <headers>
    <header name="Bundle-Activator">ch.jm.fop.osgi.Activator</header>
  </headers>
  <imports>
    <import match="org.xml.sax" add="true"/>
  </imports>
</bundle>

If you know a little about OSGi you will surely recognize the meaning of the tags. For detailed documention, please refer to the following documention.

Finally, the utility provides Ant tasks for creating bundles, converting JARs into bundles and to produce manifest files for OSGi bundles.