C.9 ExportPropertiesTask
Prev | Appendix C. Optional tasks | Next

## C.9 ExportPropertiesTask

Exports all defined properties to a specified file.

Table C.10: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`targetfile` | `String` | Target file for saved properties | n/a | Yes
`disallowedPropertyPrefixes` | `String` | Exclude properties starting with these prefixes (separated by `,` | `'host.'`, `'phing.'`, `'os.'`, `'php.'`, `'line.'`, `'env.'`, `'user.'` | No

### C.9.1 Example

    <exportproperties targetfile="output.props" />

Prev | Up | Next
C.8 DbDeployTask | Home | C.10 FileHashTask