summaryrefslogtreecommitdiff
path: root/java/module.xml
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2008-10-24 15:20:00 +0000
committerAidan Skinner <aidan@apache.org>2008-10-24 15:20:00 +0000
commite03e63e42011aa6e73664997f1af9c2c9c0bee9d (patch)
tree67fbc4b98a6f325d1a65e45f8d49e851fc170c68 /java/module.xml
parent8adca7262ae82e2bfe5331d4264e3e7865a0181a (diff)
downloadqpid-python-e03e63e42011aa6e73664997f1af9c2c9c0bee9d.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/qpid@707654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/module.xml')
-rw-r--r--java/module.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/module.xml b/java/module.xml
index 63fc4bbb8d..2ed8e014ff 100644
--- a/java/module.xml
+++ b/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}"/>