You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ad...@apache.org on 2015/11/14 21:46:56 UTC
svn commit: r1714367 - /commons/proper/io/trunk/build.xml
Author: adrianc
Date: Sat Nov 14 20:46:56 2015
New Revision: 1714367
URL: http://svn.apache.org/viewvc?rev=1714367&view=rev
Log:
Updated ant build file to match the maven pom.
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=1714367&r1=1714366&r2=1714367&view=diff
==============================================================================
--- commons/proper/io/trunk/build.xml (original)
+++ commons/proper/io/trunk/build.xml Sat Nov 14 20:46:56 2015
@@ -37,7 +37,7 @@
<property name="repository" value="${user.home}/.m2/repository"/>
<!-- The directories corresponding to your necessary dependencies -->
- <property name="junit.version" value="4.10"/>
+ <property name="junit.version" value="4.12"/>
<property name="junit.home" value="${repository}/junit/junit/${junit.version}"/>
<property name="junit.jar" value="${junit.home}/junit-${junit.version}.jar"/>
@@ -109,6 +109,7 @@
<!-- Construct compile classpath -->
<path id="downloaded.lib.classpath">
<pathelement location="${download.lib.dir}/junit-${junit.version}.jar"/>
+ <pathelement location="${download.lib.dir}/hamcrest-core-1.3.jar"/>
</path>
<!-- ========== Test Execution Defaults =================================== -->
@@ -335,7 +336,7 @@
<target name="check-availability">
<echo message="doing check-availability..." />
- <available file="${junit.jar}" property="junit.found"/>
+ <available file="${download.lib.dir}/junit-${junit.version}.jar" property="junit.found"/>
</target>
<target name="download-junit" unless="junit.found">
@@ -345,6 +346,9 @@
<get dest="${download.lib.dir}"
usetimestamp="true" ignoreerrors="true"
src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
+ <get dest="${download.lib.dir}"
+ usetimestamp="true" ignoreerrors="true"
+ src="https://hamcrest.googlecode.com/files/hamcrest-core-1.3.jar"/>
</target>
</project>