<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    What is the feature provided by this script? In which context it
    applies?<br>
    I never had trouble to integrate surefire reports in Hudson, and
    never needed a script to do so. What is the added value of this one?<br>
    <br>
    On 02/16/2012 06:40 AM, Nick Boldt wrote:
    <blockquote cite="mid:4F3C96D3.9010907@redhat.com" type="cite">If
      you depend on this old Ant script [1] to generate a dummy JUnit
      test results file in Hudson (so that should you temporarily
      disable your tests, the job won't fail), please switch to using
      this new, simpler one [2].
      <br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="http://anonsvn.jboss.org/repos/jbosstools/trunk/build/build.xml">http://anonsvn.jboss.org/repos/jbosstools/trunk/build/build.xml</a>
      <br>
      <br>
      [2]
<a class="moz-txt-link-freetext" href="http://anonsvn.jboss.org/repos/jbosstools/trunk/build/results/collect-test-results.xml">http://anonsvn.jboss.org/repos/jbosstools/trunk/build/results/collect-test-results.xml</a><br>
      <br>
      The Hudson config change looks like this as a pseudo-diff:
      <br>
      <br>
           &lt;hudson.tasks.Ant&gt;
      <br>
             &lt;targets&gt;collect.test.results.for.hudson -q -logger
      org.apache.tools.ant.NoBannerLogger&lt;/targets&gt;
      <br>
             &lt;antName&gt;ant-1.7.x&lt;/antName&gt;
      <br>
      -     
      &lt;buildFile&gt;${WORKSPACE}/build/build.xml&lt;/buildFile&gt;
      <br>
      +
&lt;buildFile&gt;${WORKSPACE}/build/results/collect-test-results.xml&lt;/buildFile&gt;<br>
           &lt;/hudson.tasks.Ant&gt;
      <br>
      <br>
      If I broke your job and you need my assistance, please post
      complaints to this jira:
      <br>
      <br>
      <a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/JBIDE-10690">https://issues.jboss.org/browse/JBIDE-10690</a>
      <br>
      <br>
      Ultimately, I'd like to remove this script entirely in favour of
      something else (eg., maven) but for now at least the code's
      simpler and will therefore be easier to rewrite.
      <br>
      <br>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Mickael Istria<br>
      Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
        by RedHat</a><br>
      <a href="http://mickaelistria.wordpress.com">My blog</a> - <a
        href="http://twitter.com/mickaelistria">My Tweets</a></div>
  </body>
</html>