LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

--- ant-contrib/build.xml
+++ ant-contrib/build.xml
@@ -348,9 +348,10 @@
         <fileset refid="run.libs" />
       </classpath>
     </junit>
-
+<!--
       <fail message="JUnit error (${junit.error}) encountered." if="junit.error" />
       <fail message="JUnit failure (${junit.failure}) encountered." if="junit.failure" />
+-->
   </target>
 
   <target name="test-all" depends="compile-tests">
@@ -373,7 +374,7 @@
 
   <target name="get-jar-deps">
       <antcall target="get-dep-maybe">
-          <param name="dep.src" value="http://www.ibiblio.org/maven/bcel/jars/bcel-5.1.jar" />
+          <param name="dep.src" value="file:/usr/share/java/bcel.jar" />
           <param name="dep.dest" value="${runlib}/bcel-5.1.jar" />
       </antcall>
 
@@ -416,10 +417,12 @@
 
       <mkdir dir="${build.ant.dir}" />
 
+<!--
       <get dest="${build.ant.dir}/${ant.src.file}"
            usetimestamp="true"
            src="http://archive.apache.org/dist/ant/source/${ant.src.file}">
-      </get>
+       </get>
+-->
 
       <available property="ant.build.testutil.available"
                  file="${build.ant.dir}/${ant.unzip.dir}/build/lib/ant-testutil.jar" />
@@ -444,10 +447,10 @@
   <target name="get-test-deps" depends="get-jar-deps">
 
       <mkdir dir="${testlib}"/>
-      <property name="junit.jar.location" value="${testlib}/junit-3.8.1.jar"/>
+      <property name="junit.jar.location" value="${testlib}/junit.jar"/>
 
       <antcall target="get-dep-maybe">
-          <param name="dep.src" value="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar" />
+          <param name="dep.src" value="file:/usr/share/java/junit.jar" />
           <param name="dep.dest" value="${junit.jar.location}" />
       </antcall>