E.2 ExpandProperties
Prev | Appendix E. Core filters | Next

## E.2 ExpandProperties

The ExpandProperties simply replaces property names with their property values. For example, if you have the following in your build file:

    <property name="description.txt" value="This is a text file" />

    <copy todir="/tmp">
      <filterchain>
        <expandproperties />
      </filterchain>

      <fileset dir=".">
        <include name="**" />
      </fileset>
    </copy>

And the string `${description.txt}` it will be replaced by `This is a text file`.

Table E.2: Attributes for `<expandproperties>`

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`level` | `String` | Control the level at which this message is reported. One of `error`, `warning`, `info`, `verbose`, `debug`. | `info` | No

Prev | Up | Next
Appendix E. Core filters | Home | E.3 HeadFilter