title: Junit Ant Task, output stack trace
body: <p>I have a number of tests failing in the following JUnit Task.</p>
  
  <pre><code> &lt;target name="test-main" depends="build.modules" description="Main Integration/Unit tests"&gt;
          &lt;junit fork="yes"
                 description="Main  Integration/Unit Tests"
                 showoutput="true"
                 printsummary="true"
                 outputtoformatters="true"&gt;
              &lt;classpath refid="test-main.runtime.classpath"/&gt;
              &lt;batchtest filtertrace="false" todir="${basedir}"&gt;
                  &lt;fileset dir="${basedir}" includes="**/*Test.class" excludes="**/*MapSimulationTest.class"/&gt;
              &lt;/batchtest&gt;
          &lt;/junit&gt;
      &lt;/target&gt;
  </code></pre>
  
  <p>How do I tell Junit to ouput the errors for each test so that I can look at the stack trace and debug the issues.</p>