View Source

h1. Description

{excerpt}The OSGi bundle ant task is a wrapper around Bnd to allow easy bundle creation from ant builds.{excerpt}

h1. Usage

The ant build plugin used to create bundles is available here and can be integrated as an ant task:
{code:xml}
<taskdef name="bundle"
classname="net.luminis.build.plugin.bnd.BuildTask"
classpath="net.luminis.build.plugin-0.2.0.jar" />
{code}

Sample usage:
{code:xml}
<bundle outputDir="lib"
filename="sample-bundle"
classpathRefId="bnd.classpath"
bundleVersion="1.0.0"
bundleVendor="luminis"
bundleName="sample"
bundleSymbolicName="net.luminis.sample.antbndwrappertask"
exportpackage="net.luminis.sample.interface">
</bundle>
{code}
See [Documentation] for a complete description of the task parameters and nested elements.

h1. Download

* Binary [0.2.0|^net.luminis.build.plugin-0.2.0.jar]
* Sourcecode [Development|https://opensource.luminis.net/svn/BUNDLES/trunk/build-plugin/] [0.2.0|https://opensource.luminis.net/svn/BUNDLES/releases/build-plugin-0.2.0/]

h1. Authors

* Karl Pauls
* [~marcelo]
* [~arjans]
* [~peterd]

h1. License

The New BSD license is used to provide the largest amount of freedom for developers that want to use this library in their application. This ant task uses [Bnd by Peter Kriens|http://www.aqute.biz/Code/Bnd].

h1. News

{blog-posts:5|content=titles|labels=build-plugin}