You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2009/12/04 18:07:35 UTC

svn commit: r887272 - /incubator/cassandra/trunk/build.xml

Author: eevans
Date: Fri Dec  4 17:07:31 2009
New Revision: 887272

URL: http://svn.apache.org/viewvc?rev=887272&view=rev
Log:
only copy needed resources (copy less greedily)

It would seem that hudson does some sort of test discovery and is trying
to execute some of the extraneous files.

Modified:
    incubator/cassandra/trunk/build.xml

Modified: incubator/cassandra/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/build.xml?rev=887272&r1=887271&r2=887272&view=diff
==============================================================================
--- incubator/cassandra/trunk/build.xml (original)
+++ incubator/cassandra/trunk/build.xml Fri Dec  4 17:07:31 2009
@@ -214,8 +214,11 @@
       <classpath refid="cassandra.classpath"/>
       <src path="${test.unit.src}"/>
     </javac>
-    <copy todir="${test.classes}">
-      <fileset dir="${test.dir}"/>
+
+    <!-- Non-java resources needed by the test suite -->
+    <mkdir dir="${test.classes}/resources" />
+    <copy todir="${test.classes}/resources">
+      <fileset dir="${test.dir}/resources"/>
     </copy>
   </target>