buildr-bnd is a buildr extension for packaging OSGi bundles using Bnd
(See www.aqute.biz/Code/Bnd). The extension allows the user to define
properties/directives to be supplied to the Bnd tool and provides
reasonable defaults for those that can be derived from the project
model.

A typical project that uses the extension may look something like;

  define 'myProject' do
    ...
    package(:bundle).tap do |bnd|
      bnd['Import-Package'] = "*;resolution:=optional"
      bnd['Export-Package'] = "*;version=#{version}"
    end
    ...
  end

The extension has been released as a gem and documentation for
installing and configuring the extension is available at

http://github.com/realityforge/buildr-bnd

Feel free to drop me a line if you have issues.

-- 
Cheers,

Peter Donald

Reply via email to