I am trying to use the <junit> task with the embedded
<batchtest> element.  The problem is that my includes
work, but my excludes don't.

    <junit fork="true" printsummary="yes" dir="${build.reports}">
      <formatter type="xml"/>
      <classpath refid="test.class.path"/>
      <batchtest todir="${build.reports}">
        <fileset dir="${build.classes}">
          <exclude name="**/excalibur/test/*"/>
          <exclude name="**$*"/>
          <include name="**/test/*"/>
        </fileset>
      </batchtest>
    </junit>

I am trying to exclude internal classes from the batch testing,
as well as one specific test.  It finds all the test classes and the
internal classes, and then tries to execute tests on all of them.

Reply via email to