Browse Source

<http>'s errorsbeginat didn't work, Bug 14833

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273585 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
58cee40515
3 changed files with 3 additions and 6 deletions
  1. +2
    -0
      WHATSNEW
  2. +0
    -5
      docs/manual/CoreTasks/conditions.html
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/condition/Http.java

+ 2
- 0
WHATSNEW View File

@@ -63,6 +63,8 @@ Fixed bugs:
* <xmlvalidate> ignored the specified encoding of the files to
validate.

* the errorsbeginat attribute of the <http> condition didn't work.

Other changes:
--------------
* The filesetmanifest attribute of <jar> has been reenabled.


+ 0
- 5
docs/manual/CoreTasks/conditions.html View File

@@ -165,11 +165,6 @@ of 400 or greater are viewed as invalid.</p>
<td valign="top">The full URL of the page to request. The web server must
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>
</tr>
<tr>
<td valign="top">errorsBeginAt</td>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/condition/Http.java View File

@@ -78,7 +78,7 @@ public class Http extends ProjectComponent implements Condition {

private int errorsBeginAt=400;
public void SetErrorsBeginAt(int errorsBeginAt) {
public void setErrorsBeginAt(int errorsBeginAt) {
this.errorsBeginAt=errorsBeginAt;
}


Loading…
Cancel
Save