SHA256
1
0
forked from pool/ant-contrib
ant-contrib/ant-contrib-BuildFileTest_java.patch

19 lines
773 B
Diff

--- ant-contrib/build.xml
+++ ant-contrib/build.xml
@@ -385,12 +385,9 @@
</target>
<target name="build-ant-testutil" unless="ant.build.testutil.available">
- <unzip src="${build.ant.dir}/${ant.src.file}"
- dest="${build.ant.dir}">
- <patternset>
- <include name="${ant.unzip.dir}/src/tests/junit/org/apache/tools/ant/BuildFileTest.java"/>
- </patternset>
- </unzip>
+ <mkdir dir="${build.ant.dir}/${ant.unzip.dir}/src/tests/junit/org/apache/tools/ant/" />
+ <copy file="${build.ant.dir}/BuildFileTest.java"
+ todir="${build.ant.dir}/${ant.unzip.dir}/src/tests/junit/org/apache/tools/ant/" />
<mkdir dir="${testclasses}" />
<javac srcdir="${build.ant.dir}/${ant.unzip.dir}/src/tests/junit"