ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1154645 - in /ant/site/ant: production/faq.html sources/faq.xml
Date Sun, 07 Aug 2011 03:00:26 GMT
Author: bodewig
Date: Sun Aug  7 03:00:25 2011
New Revision: 1154645

URL: http://svn.apache.org/viewvc?rev=1154645&view=rev
Log:
As the problem is hard to track down for users, document the known 'more' problem in JUnit
stack trace filtering even though it has come up only once so far.

Modified:
    ant/site/ant/production/faq.html
    ant/site/ant/sources/faq.xml

Modified: ant/site/ant/production/faq.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/faq.html?rev=1154645&r1=1154644&r2=1154645&view=diff
==============================================================================
--- ant/site/ant/production/faq.html (original)
+++ ant/site/ant/production/faq.html Sun Aug  7 03:00:25 2011
@@ -363,6 +363,10 @@
           program "...":CreateProcess error=2"</code> on
         Windows.
       </a></li>
+                <li><a href="#filtertrace-more">
+  My <code>&lt;junit&gt;</code> reports are missing the first line
+        containing the failure message.
+      </a></li>
             </ul>
                 <h4 class="toc">Apache Ant and IDEs/Editors</h4>
         <ul>
@@ -1527,6 +1531,22 @@ shell-prompt&gt; m4 foo.m4 &gt; foo
           (<code>set PATH=%PATH%;dirOfProgram</code>) or specify the
           absolute path in the <code>executable</code> attribute in
           your buildfile.</p>
+                    <p class="faq">
+      <a name="filtertrace-more"></a>
+      My <code>&lt;junit&gt;</code> reports are missing the first line
+        containing the failure message.
+    </p>
+                  <p>Starting with Ant 1.8.0 the text " more" has been added to
+          the set of lines that will be filtered out from stacktraces
+          if the <code>filtertrace</code> attribute has been set.  The
+          intention is to suppress the "24 more ..." line at the
+          bottom of the trace.</p>
+                        <p>If the failure message contains the word "more" the line
+          containing the message will be removed as well.  This is
+          supposed to be fixed in Ant 1.8.3 once it is released.</p>
+                        <p>The only existing work-arounds are to
+          disable <code>filtertrace</code> or change the failure
+          message to not contain the word "more".</p>
                                 <p class="faq">
       <a name="integration"></a>
       Is Apache Ant supported by my IDE/Editor?

Modified: ant/site/ant/sources/faq.xml
URL: http://svn.apache.org/viewvc/ant/site/ant/sources/faq.xml?rev=1154645&r1=1154644&r2=1154645&view=diff
==============================================================================
--- ant/site/ant/sources/faq.xml (original)
+++ ant/site/ant/sources/faq.xml Sun Aug  7 03:00:25 2011
@@ -1108,6 +1108,27 @@ shell-prompt> m4 foo.m4 > foo
           your buildfile.</p>
       </answer>
     </faq>
+
+    <faq id="filtertrace-more">
+      <question>My <code>&lt;junit&gt;</code> reports are missing
the first line
+        containing the failure message.</question>
+      <answer>
+
+        <p>Starting with Ant 1.8.0 the text " more" has been added to
+          the set of lines that will be filtered out from stacktraces
+          if the <code>filtertrace</code> attribute has been set.  The
+          intention is to suppress the "24 more ..." line at the
+          bottom of the trace.</p>
+
+        <p>If the failure message contains the word "more" the line
+          containing the message will be removed as well.  This is
+          supposed to be fixed in Ant 1.8.3 once it is released.</p>
+
+        <p>The only existing work-arounds are to
+          disable <code>filtertrace</code> or change the failure
+          message to not contain the word "more".</p>
+      </answer>
+    </faq>
   </faqsection>
 
   <faqsection title="Apache Ant and IDEs/Editors">



Mime
View raw message