summaryrefslogtreecommitdiff
path: root/java/common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'java/common.xml')
-rw-r--r--java/common.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/common.xml b/java/common.xml
index fdac37f846..3393be7070 100644
--- a/java/common.xml
+++ b/java/common.xml
@@ -111,6 +111,19 @@
<taskdef name="foreach" classname="org.apache.qpid.tasks.Foreach"
classpath="${tasks.classes}"/>
+ <macrodef name="copylist">
+ <attribute name="todir"/>
+ <attribute name="dir"/>
+ <attribute name="files"/>
+ <sequential>
+ <foreach property="file" list="@{files}">
+ <copy todir="@{todir}" flatten="true">
+ <fileset dir="@{dir}" includes="${file}"/>
+ </copy>
+ </foreach>
+ </sequential>
+ </macrodef>
+
<target name="clean-tasks">
<delete dir="${tasks.classes}"/>
</target>