lines | Lines of text to display. |
name | A name, can be any text. |
output | Where to send the output. |
text | The text to display. |
Example 1 | Hello World. |
Example 2 | Hello World Twice. |
Example 3 | Echo a file list. |
Configured By | ELEMENT |
Access | READ_WRITE |
Required | No, if there is no text and no lines only a blank line will be printed. printed. |
Lines of text to display.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
A name, can be any text.
Configured By | ELEMENT |
Access | READ_WRITE |
Required | No, defaults to the console. |
Where to send the output.
Configured By | TEXT |
Access | READ_WRITE |
Required | No, if there is no text and no lines only a blank line will be printed. |
The text to display.
Hello World.
<oddjob> <job> <echo name="Greeting Job">Hello World</echo> </job> </oddjob>
Hello World Twice.
<oddjob> <job> <sequential> <jobs> <echo id="first">Hello World Twice!</echo> <echo>${first.text}</echo> </jobs> </sequential> </job> </oddjob>
Echo a file list.
<oddjob id="this"> <job> <echo> <lines> <files files="${this.args[0]}/test/io/reference/*.txt"/> </lines> </echo> </job> </oddjob>