diff options
| author | Aidan Skinner <aidan@apache.org> | 2008-10-24 15:20:00 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2008-10-24 15:20:00 +0000 |
| commit | 1a2088b70c851896bed56398a41efef85ac676b7 (patch) | |
| tree | 36489736a3468ea8dfdc2ad2b769ba439f4e799a /qpid/java/module.xml | |
| parent | 92c702abaa7ef5731212ac7fb4acbad7428a34c7 (diff) | |
| download | qpid-python-1a2088b70c851896bed56398a41efef85ac676b7.tar.gz | |
QPID-1398: use bnd tool to produce osgi bundles with 'ant bundle'
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/module.xml')
| -rw-r--r-- | qpid/java/module.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml index 63fc4bbb8d..2ed8e014ff 100644 --- a/qpid/java/module.xml +++ b/qpid/java/module.xml @@ -415,6 +415,18 @@ </zip> </target> + <target name="bundle" depends="jar"> + <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="${project.root}/lib/bnd-0.0.249.jar"/> + <echo message="Bundling ${build}/lib/${module.namever}.jar with ${module.src}/${module}.bnd"/> + <bnd + classpath="${build}/lib/${module.namever}.jar" + eclipse="false" + failok="false" + exceptions="true" + output="${build}/lib/${module.namever}-osgi.jar" + files="${module.src}/${module}.bnd"/> + </target> + <target name="tar-release" depends="zip-release" description="build release archive"> <tar destfile="${module.release.tar}" longfile="gnu" > <zipfileset src="${module.release.zip}"/> |
