LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ant-contrib-BuildFileTest_java.patch of Package ant-contrib (Project DISCONTINUED:openSUSE:11.2)

--- 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"