commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1178269 - /commons/proper/io/trunk/build.xml
Date Sun, 02 Oct 2011 22:52:32 GMT
Author: sebb
Date: Sun Oct  2 22:52:32 2011
New Revision: 1178269

URL: http://svn.apache.org/viewvc?rev=1178269&view=rev
Log:
Use junit.version rather than hard-coded number; download from Maven Central

Modified:
    commons/proper/io/trunk/build.xml

Modified: commons/proper/io/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/build.xml?rev=1178269&r1=1178268&r2=1178269&view=diff
==============================================================================
--- commons/proper/io/trunk/build.xml (original)
+++ commons/proper/io/trunk/build.xml Sun Oct  2 22:52:32 2011
@@ -106,7 +106,7 @@
 
   <!-- Construct compile classpath -->
   <path id="downloaded.lib.classpath">
-    <pathelement location="${download.lib.dir}/junit.jar"/>
+    <pathelement location="${download.lib.dir}/junit-${junit.version}.jar"/>
   </path>
 
 <!-- ========== Test Execution Defaults =================================== -->
@@ -335,9 +335,10 @@
     <target name="download-junit" unless="junit.found">
         <echo message="Downloading junit..."/>
         <mkdir dir="${download.lib.dir}" />
-        <get dest="${download.lib.dir}/junit.jar"
+        <!-- TODO check hash of jar -->
+        <get dest="${download.lib.dir}"
             usetimestamp="true" ignoreerrors="true"
-            src="https://github.com/downloads/KentBeck/junit/junit-4.10.jar"/>
+            src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
     </target>
       
 </project>



Mime
View raw message