The LoadFileTask
loads the contents of a (text) file into a single property.
Table B.35: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
property
|
String
| The name of the property to set. | n/a | Yes |
file (or srcFile )
|
String
| The file to load. | n/a | Yes |
failonerror
|
Boolean
| Whether to halt the build on failure. | true | No |
quiet
|
Boolean
| Do not display a diagnostic message (unless Phing has been invoked with the -verbose or
-debug switches) or modify the exit status to reflect an error. Setting this to
true implies setting failonerror to false .
| false | No |