ControlTier Inc. > Open.ControlTier
 
Font size:      

Type-Create

Description

Creates a new map type. Task will fail if type already exists in map. See Type-Update task to update an existing 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 create.

Examples

Create a new sub-type of the current type in context.

	<type-create
	   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-create>