Font size:
Property-Expand
Description
Ant task takes a string as input which may contain nested property references and attempts to expand multiple times until all embeded properties are expanded or all possible properties in the Ant project are exhausted.
Parameters
| Attribute | Description | Required |
|---|---|---|
| property | The name of the property to set | Yes |
| input | String (possibly) containing embedded property names | Yes |
| override | If the property is already set, should we change it's value. Can be true or false | No (defaults to "false") |
Parameters specified as nested elements
propertyset
Using a PropertySet allows multipe properties to be expanded based on the property name filtering.
Examples
Expand a single string:
<property-expand property="aPropname" input="aString" />
To recursively expand all the property values in the project use a propertyset:
<property-expand>
<propertyset>
<propertyref prefix=".*"/>
</propertyset>
</property-expand>



