ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks conditions.html
Date Wed, 22 May 2002 17:39:58 GMT
stevel      02/05/22 10:39:58

  Modified:    docs/manual/CoreTasks Tag: ANT_15_BRANCH conditions.html
  tightened the policy on response codes; 404 is now recognised as invalid, along with any
of the >400 codes. But for people that really dont want that, there is an errorsBeginAt
attribute that you can move up or down the line
  Revision  Changes    Path
  No                   revision
  No                   revision   +8 -2      jakarta-ant/docs/manual/CoreTasks/conditions.html
  Index: conditions.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/conditions.html,v
  retrieving revision
  retrieving revision
  diff -u -r1.9.2.1 -r1.9.2.2
  --- conditions.html	7 May 2002 12:50:57 -0000
  +++ conditions.html	22 May 2002 17:39:58 -0000
  @@ -151,7 +151,8 @@
   <p>The <code>http</code> condition checks for a valid response from a
  -web server of the specified url.</p>
  +web server of the specified url. By default, HTTP responses errors
  +of 400 or greater are viewed as invalid.</p>
   <table border="1" cellpadding="2" cellspacing="0">
       <td width="12%" valign="top"><b>Attribute</b></td>
  @@ -161,8 +162,13 @@
       <td valign="top">url</td>
       <td valign="top">The full URL of the page to request. The web server must
  -      return a status code of &lt;500..</td>
  +      return a status code of &lt;<tt>errorsBeginAt</tt></td>
       <td align="center">Yes.</td>
  +    <td valign="top">errorsBeginAt</td>
  +    <td valign="top">The lowest HTTP response code that signals an error;
  +    by default '400'; server errors, not-authorized, not-found and the like 
  +    are detected</td>
  +    <td align="center">No</td>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message