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?




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to