Hi, After going through a little run of trying to setup latka I think there may be a better way to do the testing. David Peugh suggested using the source references instead of class references which is what I would like to do.
So we would have something like the following: <sourceDirectories> <sourceDirectorysrc/java</sourceDirectory> </sourceDirectories> <testSourceDirectories> <testSourceDirectory>src/test</testSourceDirectory> </testSourceDirectories> Where you will notice that the <testSourceDirectories> only include the paths for directories with tests in them. We can wrangle the process so that the <sourceDirectories> are aggregated with <testSourceDirectories> when compiling so that everything is there and we can have something like the following: <unitTestEntries> <unitTestEntry>include = **/*Test*.java</unitTestEntry> </unitTestEntries> And in the <batchtest> we will use only the <testSourceDirectories> in the <fileset> so that we can avoid having to deal with non-test sources all together, plus using the sources (as David Peugh pointed out) means that we don't have to explicity exclude inner classes. We might even be able to have a default behaviour where the **/*Test*.java pattern in implicit so that people don't have to define <unitTestEntries> unless they want to exclude something. Makes sense? Thoughts? -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
