ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clint Shank" <clint_sh...@fanniemae.com>
Subject junit Looping?
Date Tue, 03 Jun 2003 18:57:20 GMT
I need to execute a set of junit tasks that differ only in the directory 
from which the VM is invoked and the set of JUnit tests that are run. 
The copy and paste solution (showing only relevant nodes) looks like this:

<junit fork="yes" dir=”dir1”>
<fileset
dir="classdir1"
includes="**/Test*.class"
/>
</junit>
<junit fork="yes" dir=”dir2”>
<fileset
dir="classdir2"
includes="**/*Test*.class"
excludes=”NotThisTest.class”
/>
</junit>

There are about five of these junit elements. Any suggestions to reduce 
the duplication?




Mime
View raw message