ndw/xmlcalabash1 — pull request #37 by rdeltour (2012-03-29 21:15:22+00:00)
Title: use bnd to build calabash as on OSGi bundle

The Calabash jar can be made an OSGi bundle by adding unobtrusive headers to the Jar manifest. The commits in this pull request use the "bnd" tool [1] (developed by Peter Kriens, the OSGi spec editor) via its "bnd" and task, which can be used as a transparent replacement for Ant's "jar" task to build the Jar file and compute all the required OSGi-specific manifest headers.

The first commit does:
* replace the "jar" task in the "jar" target by the "bnd" task
* add the bnd.jar tool in the osgi directory, used by the bnd ant task
* add the calabash.bnd configuration file in the osgi directory, specifying what headers to include in the jar manifest

The second commit simply removes a duplicated invocation of the "jar" task in the "distrib" target.

[1] http://www.aqute.biz/Bnd/Bnd