Browse Source

Added examples of using the line.separator system property in the message.

PR:  27953


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276253 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 21 years ago
parent
commit
8671950c6a
1 changed files with 11 additions and 3 deletions
  1. +11
    -3
      docs/manual/CoreTasks/echo.html

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

@@ -51,13 +51,21 @@ ignored</p>
</table>
<h3>Examples</h3>
<pre> &lt;echo message=&quot;Hello, world&quot;/&gt;</pre>
<pre>
<pre>
&lt;echo message=&quot;Hello, world&quot;/&gt;
</pre>
<pre>
&lt;echo message=&quot;Embed a line break:${line.separator}&quot;/&gt;
</pre>
<pre>
&lt;echo&gt;Embed another:${line.separator}&lt;/echo&gt;
</pre>
<pre>
&lt;echo&gt;This is a longer message stretching over
two lines.
&lt;/echo&gt;
</pre>
<pre>
<pre>
&lt;echo&gt;
This is a longer message stretching over
three lines; the first line is a blank


Loading…
Cancel
Save