summaryrefslogtreecommitdiff
path: root/qpid/java/module.xml
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2008-05-01 00:03:23 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2008-05-01 00:03:23 +0000
commitcf204902bf6280550c1741a78be8ed3102f48914 (patch)
treeaf661e8f1ac78e182844c293e5b578267f14ae37 /qpid/java/module.xml
parent9262e03f9381782009a4da0f50d36aaabd20bbe3 (diff)
downloadqpid-python-cf204902bf6280550c1741a78be8ed3102f48914.tar.gz
This commit is for QPID-992 and QPID-993
build.xml ========== I added the broker-plugins as a module to the ant build system. This was nessacery to get the plugins jar generated for QPID-993. In general when we add extra exchanges as plugins we want release this as a separate jar common.xml ========== Added a property build.plugins. This is used to create the plugins dir that is used for PluginTest noted in QPID-993. module.xml ========== Creats the folder identified by build.plugins copys the plugins jar to the above folder before the tests are run Added the following system properties when running tests "example.plugin.target" to build.plugins - required for QPID-993 "QPID_EXAMPLE_HOME" and "QPID_HOME" is to project.root/broker to pick up the config files in etc - required for QPID-992. build.deps ========== added common libs and felix libs for the broker-plugins module. This is for QPID-993 acl.config.xml ============== Added TempQueue as a routing key allowed for publish to amq.direct for user "server" This was done for QPID-992 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/module.xml')
-rw-r--r--qpid/java/module.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml
index 3dbab15962..76f81e93f1 100644
--- a/qpid/java/module.xml
+++ b/qpid/java/module.xml
@@ -112,6 +112,7 @@
<mkdir dir="${build.lib}"/>
<mkdir dir="${build.results}"/>
<mkdir dir="${build.data}"/>
+ <mkdir dir="${build.plugins}"/>
<mkdir dir="${module.classes}"/>
<mkdir dir="${module.precompiled}"/>
<mkdir dir="${module.api}"/>
@@ -171,6 +172,8 @@
<target name="test" depends="compile-tests" if="module.test.src.exists"
description="execute unit tests">
+ <copy file="${build.lib}/${project.name}-broker-plugins-${project.version}.jar" todir="${build.plugins}"/>
+
<junit fork="${test.fork}" maxmemory="${test.mem}" reloading="no"
haltonfailure="${haltonfailure}" haltonerror="${haltonerror}"
printsummary="on" timeout="600000" >
@@ -186,6 +189,9 @@
<sysproperty key="test.excludes" value="${test.excludes}"/>
<sysproperty key="test.excludesfile" value="${test.excludesfile}"/>
<sysproperty key="max_prefetch" value ="${max_prefetch}"/>
+ <sysproperty key="example.plugin.target" value="${project.root}/build/lib/plugins"/>
+ <sysproperty key="QPID_EXAMPLE_HOME" value="${project.root}/broker"/>
+ <sysproperty key="QPID_HOME" value="${project.root}/broker"/>
<formatter type="plain"/>
<formatter type="xml"/>