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

Pulse Manual Index

Overview

The resource element is used to define a resource.

Attributes

Attribute Description
default-version The name of the default version for the resource.
name The name of the resource.

Child Elements

Element Description
property Defines a property in the default version for the resource. These properties will be introduced if the resource is referenced without a version being specified.
version Defines a version of the resource, which may have its own properties.

Example

<resource name="my-tool">
    <!-- Properties when no version is specified -->
    <property name="my.tool.bin" value="/usr/bin/my-tool2"/>

    <!-- Properties for version 1.0 -->
    <version value="1.0">
        <property name="my.tool.bin" value="/usr/bin/my-tool1"/>
    </version>

    <!-- Properties for version 2.0 -->
    <version value="2.0">
        <property name="my.tool.bin" value="/usr/bin/my-tool2"/>
    </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