ControlTier Inc. > CTL
 
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

AttributeDescriptionRequired
propertyThe name of the property to setYes
inputString (possibly) containing embedded property namesYes
overrideIf the property is already set, should we change it's value. Can be true or falseNo (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>