| <html> |
| |
| <head> |
| <meta http-equiv="Content-Language" content="en-us"> |
| <title>Ant User Manual</title> |
| </head> |
| |
| <body> |
| |
| <h2><a name="echo">Echo</a></h2> |
| <h3>Description</h3> |
| <p>Echoes a message to System.out or a file.</p> |
| <h3>Parameters</h3> |
| <table border="1" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td valign="top"><b>Attribute</b></td> |
| <td valign="top"><b>Description</b></td> |
| <td align="center" valign="top"><b>Required</b></td> |
| </tr> |
| <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> |
| </tr> |
| <tr> |
| <td valign="top">file</td> |
| <td valign="top">the file to write the message to.</td> |
| <td valign="top" align="center">No</td> |
| </tr> |
| <tr> |
| <td valign="top">append</td> |
| <td valign="top">Append to an existing file?</td> |
| <td valign="top" align="center">No - default is false.</td> |
| </tr> |
| </table> |
| <h3>Examples</h3> |
| <pre> <echo message="Hello world"/></pre> |
| <pre> |
| <echo> |
| This is a longer message stretching over |
| two lines. |
| </echo> |
| </pre> |
| <hr> |
| <p align="center">Copyright © 2000,2001 Apache Software Foundation. All rights |
| Reserved.</p> |
| |
| </body> |
| </html> |
| |