ObjectMaprefUri Task Reference

From ControlTier

Jump to: navigation, search


Looks up the Resource maprefuri identifier given its name, type and depot.

Parameters

AttributeDescriptionRequired
depotThe project to updateYes
resultpropertyProperty to set with success/fail valueYes
outputpropertyProperty to set with objects mapref-uri valueYes
commentText describing purpose of updateYes
passfileFile containing authentication info to server. If passfile is not specified, information from the framework.properties file is used instead.No

Parameters specified as nested elements

resource

A resource.

Examples

Check if a package resource exists

	<object-maprefuri depot="${context.depot}"
                       resultproperty="result"
	               outputproperty="mapref"
                       comment="">
          <resource
                   name="${context.name}"
                   type="${context.type}"/>
	</object-maprefuri>
        <echo message="mapref-uri is ${mapref}"/>
      
Development