file | The file path. |
Example 1 | Append a line to a file. |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | Yes. |
The file path.
Append a line to a file.
<oddjob id="this"> <job> <sequential> <jobs> <variables id="vars"> <myFile> <append file="${this.args[0]}/messages.txt"/> </myFile> </variables> <echo> <output> <value value="${vars.myFile}"/> </output>Hello World</echo> <echo> <output> <value value="${vars.myFile}"/> </output>Goodbye World</echo> </jobs> </sequential> </job> </oddjob>