Fix ant build to validate only part of testframework

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131364 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-11-22 12:06:34 +00:00
parent 87da39f9cc
commit 6f29698994
1 changed files with 21 additions and 14 deletions

View File

@ -1,4 +1,4 @@
<!-- $Id: build.xml,v 1.51 2003/11/16 21:39:42 scolebourne Exp $ --> <!-- $Id: build.xml,v 1.52 2003/11/22 12:06:34 scolebourne Exp $ -->
<project name="commons-collections" default="test" basedir="."> <project name="commons-collections" default="test" basedir=".">
<!-- patternset describing files to be copied from the doc directory --> <!-- patternset describing files to be copied from the doc directory -->
@ -33,19 +33,26 @@
<include name="**/BulkTest*.class"/> <include name="**/BulkTest*.class"/>
</patternset> </patternset>
<!-- patternset describing test framework source --> <!-- patternset describing test framework classes -->
<patternset id="patternset-testframework-source"> <patternset id="patternset-testframework-source">
<include name="**/Bag.java"/> <include name="**/AbstractTest*.class"/>
<include name="**/BidiMap.java"/> <include name="**/BulkTest*.class"/>
<include name="**/MapIterator.java"/> </patternset>
<include name="**/OrderedBidiMap.java"/>
<include name="**/OrderedIterator.java"/> <!-- patternset describing test framework source not dependent on collections jar -->
<include name="**/map/OrderedMap.java"/> <patternset id="patternset-testframework-validate">
<include name="**/OrderedMapIterator.java"/> <include name="**/AbstractTestObject.java"/>
<include name="**/SortedBag.java"/> <include name="**/AbstractTestCollection.java"/>
<include name="**/SortedBidiMap.java"/> <include name="**/AbstractTestSet.java"/>
<include name="**/AbstractTest*.java"/> <include name="**/AbstractTestSortedSet.java"/>
<include name="**/BulkTest*.java"/> <include name="**/AbstractTestList.java"/>
<include name="**/AbstractTestMap.java"/>
<include name="**/AbstractTestSortedMap.java"/>
<include name="**/AbstractTestComparator.java"/>
<include name="**/AbstractTestIterator.java"/>
<include name="**/AbstractTestListIterator.java"/>
<include name="**/AbstractTestMapEntry.java"/>
<include name="**/BulkTest.java"/>
</patternset> </patternset>
<patternset id="patternset-exclude-distros"> <patternset id="patternset-exclude-distros">
@ -298,7 +305,7 @@
<mkdir dir="${dest.classes.testframework}"/> <mkdir dir="${dest.classes.testframework}"/>
<copy todir="${dest.classes.testframework}"> <copy todir="${dest.classes.testframework}">
<fileset dir="${source.src}"> <fileset dir="${source.src}">
<patternset refid="patternset-testframework-source"/> <patternset refid="patternset-testframework-validate"/>
</fileset> </fileset>
</copy> </copy>