ControlTier Inc. > Open.ControlTier
 
Font size:      

Object-MaprefUri

Description

Looks up the objects mapref-uri 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 object.

Examples

Check if a package object exists

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