title: Jacoco ant task - no jacoco.exec output
body: <p>I configured my Ant task as</p>
  
  <pre><code>&lt;target name="test" depends="init"&gt;
      &lt;jacoco:coverage destfile="target/jacoco.exec"&gt;
          &lt;junit printsummary="yes" haltonfailure="yes" fork="yes" forkmode="once"&gt;
              &lt;classpath refid="my_project.path"/&gt;
              &lt;formatter type="plain"/&gt;
              &lt;formatter type="xml"/&gt;
              &lt;batchtest fork="false" todir="target/test-reports"&gt;
                  &lt;fileset dir="test"&gt;
                      &lt;include name="**/*Test.java"/&gt;
                  &lt;/fileset&gt;
              &lt;/batchtest&gt;
          &lt;/junit&gt;
      &lt;/jacoco:coverage&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>Which produces the expected junit result. However, the <code>target/jacoco.exec</code> is never created. I do not have any error during the <code>ant test report</code> task execution. </p>
  
  <blockquote>
    <p>test: [jacoco:coverage] Enhancing junit with coverage</p>
  
  <pre><code>...
  
  [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,009 sec
  </code></pre>
    
    <p>report: [jacoco:report] Loading execution data file
    /home/usr/Workspaces/my_project/target/jacoco.exec</p>
    
    <p>BUILD FAILED /home/usr/Workspaces/my_project/build.xml:73: Unable to read
    execution data file /home/usr/Workspaces/my_project/target/jacoco.exec</p>
    
    <p>Total time: 14 seconds</p>
  </blockquote>
  
  <p>Seems like I am missing something, unable to see what exactly.</p>