You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/07/28 11:33:01 UTC

svn commit: r1613938 - in /commons/proper/io/trunk: build.xml src/changes/changes.xml

Author: sebb
Date: Mon Jul 28 09:33:01 2014
New Revision: 1613938

URL: http://svn.apache.org/r1613938
Log:
IO-451 ant test fails - resources missing from test classpath

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

Modified: commons/proper/io/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/build.xml?rev=1613938&r1=1613937&r2=1613938&view=diff
==============================================================================
--- commons/proper/io/trunk/build.xml (original)
+++ commons/proper/io/trunk/build.xml Mon Jul 28 09:33:01 2014
@@ -63,6 +63,9 @@
   <!-- The base directory for unit test sources -->
   <property name="test.home"               value="src/test/java"/>
 
+  <!-- The base directory for unit test resources -->
+  <property name="test.resources.home"               value="src/test/resources"/>
+
   <!-- Download lib dir -->
   <property name="download.lib.dir"        value="lib"/>
 
@@ -115,6 +118,7 @@
   <path id="test.classpath">
     <pathelement location="${build.home}/classes"/>
     <pathelement location="${build.home}/test-classes"/>
+    <pathelement location="${build.home}/test-resources"/>
     <pathelement location="${junit.jar}"/>
     <path refid="downloaded.lib.classpath"/>
   </path>
@@ -177,6 +181,9 @@
              includeantruntime="false">
           <classpath refid="test.classpath"/>
       </javac>
+      <copy todir="${build.home}/test-resources">
+        <fileset dir="${test.resources.home}"/>
+      </copy>
     </target>
 
   <target name="test"  depends="compile.tests"

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1613938&r1=1613937&r2=1613938&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Mon Jul 28 09:33:01 2014
@@ -47,6 +47,9 @@ The <action> type attribute can be add,u
   <body>
     <!-- The release date is the date RC is cut -->
     <release version="2.5" date="2014-??-??" description="New features and bug fixes.">
+      <action issue="IO-451" dev="sebb" type="fix" due-to="David Standish">
+         ant test fails - resources missing from test classpath
+      </action>
       <action issue="IO-435" dev="tn" type="fix" due-to="Dominik Stadler">
          Document that FileUtils.deleteDirectory, directoryContains and cleanDirectory
          may throw an IllegalArgumentException in case the passed directory does not