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.

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Evans 2009-12-04 17:07:31 +00:00
parent 6c6f0c138e
commit babb2e34c4
1 changed files with 5 additions and 2 deletions

View File

@ -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>