title: Ant:create JUnit report task programmatically
body: <p>I use the Ant API for creating tasks programmatically, but I have not yet found the class that create JUnit report task.
  in short, I want  the equivalent of the code below using the Ant API:</p>
  
  <pre><code>&lt;junitreport todir=".."&gt;
     &lt;fileset dir=".."&gt;
        &lt;include name="TEST-*.xml" /&gt;
     &lt;/fileset&gt;
     &lt;report format="frames" todir=".." /&gt;
  &lt;/junitreport&gt;
  </code></pre>
  
  <p>Thanks for your help.</p>