Dashboard > Pulse v1.2 > ... > Local Build resource Element > Local Build property Element
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  Local Build property Element
Added by Jason Sankey, last edited by Jason Sankey on Sep 29, 2007  (view change)
Labels: 
(None)

Pulse Manual Index

Overview

The property element is used to define a named property for a resource. When nested directly under the resource element the property will be added to the default version for the resource. If, on the other hand, the property is nested under a specific version element the property will be added to that version.

The properties defined in a resource may be introduced into your pulse file by referencing the resource and optionally specifying a version.

Attributes

Attribute Description
add-to-environment If true, the property is introduced into the environment of all child processes in builds that import this property.
add-to-path If true, the value of this property is added to the PATH environment variable when searching for and executing child processes in builds that import this property.
name The name of the property.
resolve-variables If true, property references in the variable value will be resolved. This is separate to normal property resolution: the scope is not that of the resource XML file but rather the properties for the build. Any properties thus-referenced must be escaped such that they are not resolved while processing the resource XML file.
value The value of the property.

Child Elements

None.

Examples

A property in the default version:

<resource name="example">
    <property name="foo" value="bar"/>
</resource>

A property in a specific version:

<resource name="example">
    <version value="1.0">
        <property name="foo" value="bar"/>
    </version>
</resource>

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators