TypeCreate Task Reference

From ControlTier

Jump to: navigation, search


Contents

Description

Creates a new Resource type. Task will fail if type already exists in model. See TypeUpdate Task Reference 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>
      
Personal tools
Development