New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use bnd to build calabash as an OSGi bundle #37

merged 2 commits into from Apr 4, 2012


None yet
2 participants

rdeltour commented Mar 29, 2012

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.


ndw added a commit that referenced this pull request Apr 4, 2012

Merge pull request #37 from rdeltour/bnd
use bnd to build calabash as an OSGi bundle

@ndw ndw merged commit 068a900 into ndw:master Apr 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment