bodewig 2002/11/27 09:01:12
Modified: . WHATSNEW
docs/manual/CoreTasks conditions.html
src/main/org/apache/tools/ant/taskdefs/condition Http.java
Log:
<http>'s errorsbeginat didn't work, Bug 14833
Revision Changes Path
1.329 +2 -0 jakarta-ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
retrieving revision 1.328
retrieving revision 1.329
diff -u -r1.328 -r1.329
--- WHATSNEW 27 Nov 2002 16:38:55 -0000 1.328
+++ WHATSNEW 27 Nov 2002 17:01:12 -0000 1.329
@@ -63,6 +63,8 @@
* <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.
1.15 +0 -5 jakarta-ant/docs/manual/CoreTasks/conditions.html
Index: conditions.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/conditions.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- conditions.html 27 Sep 2002 08:18:51 -0000 1.14
+++ conditions.html 27 Nov 2002 17:01:12 -0000 1.15
@@ -165,11 +165,6 @@
<td valign="top">The full URL of the page to request. The web server must
return a status code of <<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.6 +1 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/condition/Http.java
Index: Http.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/condition/Http.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Http.java 25 Jul 2002 15:21:10 -0000 1.5
+++ Http.java 27 Nov 2002 17:01:12 -0000 1.6
@@ -78,7 +78,7 @@
private int errorsBeginAt=400;
- public void SetErrorsBeginAt(int errorsBeginAt) {
+ public void setErrorsBeginAt(int errorsBeginAt) {
this.errorsBeginAt=errorsBeginAt;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>