ControlTier Inc. > Open.ControlTier
 
Font size:      

Type-Update

Description

Updates an existing map type. Task will fail if type does not already exists in map. See Type-Create task to create a new type.

Parameters

AttributeDescriptionRequired
depotThe project to updateYes
resultpropertyProperty to set with success/fail 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

typeentity

A typeentity specifying type to update.

Examples

Update an existing type 'MyType'.

	<type-update
	   depot="${entity.depot}"
	   resultproperty="rs"
	   comment="Updating from ${ant.project.name} ant task."
	   passfile="${ctl.base}/etc/framework.properties">
	  <typeentity
             superclass="${context.type}"
             name="MyType"
             description="my special type"
             />
	</type-update>