opensource.luminis.net
 

OSGi Bundle Ant Task

Description

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

Usage

The ant build plugin used to create bundles is available here and can be integrated as an ant task:

<taskdef name="bundle" 
    classname="net.luminis.build.plugin.bnd.BuildTask"
    classpath="net.luminis.build.plugin-0.2.0.jar" />

Sample usage:

<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>

See Documentation for a complete description of the task parameters and nested elements.

Download

Authors

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.

News

blog-posts: 'build-plugin' is not an existing label
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Powered by JIRA Studio 2.2 | Terms of Use | Bug/feature request | Request Support | Help/Documentation