Browse Source

remove from documentation (and from comment in source code) the incorrect

statement that a message attribute or character data within the element is
required.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469751 13f79535-47bb-0310-9956-ffa450edef68
master
Steven M. Cohen 18 years ago
parent
commit
f9239036dd
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      docs/manual/CoreTasks/echo.html
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Echo.java

+ 3
- 2
docs/manual/CoreTasks/echo.html View File

@@ -44,8 +44,9 @@ ignored</p>
<tr>
<td valign="top">message</td>
<td valign="top">the message to echo.</td>
<td valign="top" align="center">Yes, unless data is included in a
character section within this element.</td>
<td valign="top" align="center">No. Text may also be included in a
character section within this element. If neither is included a
blank line will be emitted in the output.</td>
</tr>
<tr>
<td valign="top">file</td>


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

@@ -40,7 +40,7 @@ import org.apache.tools.ant.types.LogLevel;
* @ant.task category="utility"
*/
public class Echo extends Task {
protected String message = ""; // required
protected String message = "";
protected File file = null;
protected boolean append = false;
/** encoding; set to null or empty means 'default' */


Loading…
Cancel
Save