mbenson 2004/03/25 11:18:31
Modified: docs/manual/CoreTasks echo.html
Log:
Added examples of using the line.separator system property in the message.
PR: 27953
Revision Changes Path
1.12 +11 -3 ant/docs/manual/CoreTasks/echo.html
Index: echo.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/echo.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- echo.html 9 Feb 2004 21:50:05 -0000 1.11
+++ echo.html 25 Mar 2004 19:18:31 -0000 1.12
@@ -51,13 +51,21 @@
</table>
<h3>Examples</h3>
-<pre> <echo message="Hello, world"/></pre>
-<pre>
+<pre>
+<echo message="Hello, world"/>
+</pre>
+<pre>
+<echo message="Embed a line break:${line.separator}"/>
+</pre>
+<pre>
+<echo>Embed another:${line.separator}</echo>
+</pre>
+<pre>
<echo>This is a longer message stretching over
two lines.
</echo>
</pre>
-<pre>
+<pre>
<echo>
This is a longer message stretching over
three lines; the first line is a blank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]