Author: scohen
Date: Tue Oct 31 18:04:27 2006
New Revision: 469751
URL: http://svn.apache.org/viewvc?view=rev&rev=469751
Log:
remove from documentation (and from comment in source code) the incorrect
statement that a message attribute or character data within the element is
required.
Modified:
ant/core/trunk/docs/manual/CoreTasks/echo.html
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Echo.java
Modified: ant/core/trunk/docs/manual/CoreTasks/echo.html
URL:
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/echo.html?view=diff&rev=469751&r1=469750&r2=469751
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/echo.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/echo.html Tue Oct 31 18:04:27 2006
@@ -44,8 +44,9 @@
<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>
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Echo.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Echo.java?view=diff&rev=469751&r1=469750&r2=469751
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Echo.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Echo.java Tue Oct 31
18:04:27 2006
@@ -40,7 +40,7 @@
* @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' */
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]