diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2009-07-09 19:35:55 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2009-07-09 19:35:55 +0000 |
| commit | 0744eb776b9bd3fdad35af66f35688b1559e684e (patch) | |
| tree | f3d4e4c6e9b624727b5770c652fa7c08f45fc204 /qpid/java/common.xml | |
| parent | 1150490a213b29d2113defae7d70a4ae00d511f7 (diff) | |
| download | qpid-python-0744eb776b9bd3fdad35af66f35688b1559e684e.tar.gz | |
refrain from using anything other than filesets inside copy, this makes the build backwards compatible to pre 1.7 versions of ant
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@792650 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common.xml')
| -rw-r--r-- | qpid/java/common.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qpid/java/common.xml b/qpid/java/common.xml index fdac37f846..3393be7070 100644 --- a/qpid/java/common.xml +++ b/qpid/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> |
