You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/03/18 13:38:48 UTC

svn commit: r1578846 - in /tomcat/trunk: java/org/apache/catalina/ant/AbstractCatalinaTask.java webapps/docs/changelog.xml

Author: kkolinko
Date: Tue Mar 18 12:38:48 2014
New Revision: 1578846

URL: http://svn.apache.org/r1578846
Log:
Followup to r1578260
Amend javadoc for the new option.
Move Ant task changes from "Web applications" to "Other" section of changelog.

Modified:
    tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java?rev=1578846&r1=1578845&r2=1578846&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java Tue Mar 18 12:38:48 2014
@@ -114,6 +114,14 @@ public abstract class AbstractCatalinaTa
     /**
      * If set to true - ignore the constraint of the first line of the response
      * message that must be "OK -".
+     * <p>
+     * When this attribute is set to {@code false} (the default), the first line
+     * of server response is expected to start with "OK -". If it does not
+     * then the task is considered as failed and the first line is treated
+     * as an error message.
+     * <p>
+     * When this attribute is set to {@code true}, the first line of the
+     * response is treated like any other, regardless of its text.
      */
     protected boolean ignoreResponseConstraint = false;
 

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1578846&r1=1578845&r2=1578846&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Mar 18 12:38:48 2014
@@ -231,19 +231,6 @@
          Add support for <code>LAST_ACCESS_AT_START</code> system property to
          Manager web application. (kfujino)
       </fix>
-      <fix>
-         Add definition of <code>org.apache.catalina.ant.FindLeaksTask</code>.
-         (kfujino)
-      </fix>
-      <fix>
-         Implement <code>org.apache.catalina.ant.VminfoTask</code>,
-         <code>org.apache.catalina.ant.ThreaddumpTask</code> and
-         <code>org.apache.catalina.ant.SslConnectorCiphersTask</code>. (kfujino)
-      </fix>
-      <add>
-         Add the option to ignore the constraint of the first line of the
-        response message that must be "OK -". Default is false. (kfujino)
-      </add>
     </changelog>
   </subsection>
   <subsection name="Other">
@@ -302,6 +289,21 @@
         <bug>56204</bug>: Remove unnecessary dependency between tasks in the
         build script. (markt)
       </fix>
+      <fix>
+         Add definition of <code>org.apache.catalina.ant.FindLeaksTask</code>.
+         (kfujino)
+      </fix>
+      <fix>
+         Implement <code>org.apache.catalina.ant.VminfoTask</code>,
+         <code>org.apache.catalina.ant.ThreaddumpTask</code> and
+         <code>org.apache.catalina.ant.SslConnectorCiphersTask</code>. (kfujino)
+      </fix>
+      <add>
+         Add the option to the Apache Ant tasks to ignore the constraint of the
+         first line of the response message that must be "OK -"
+         (<code>ignoreResponseConstraint</code> in <code>AbstractCatalinaTask</code>).
+         Default is false. (kfujino)
+      </add>
     </changelog>
   </subsection>
 </section>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org