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
| Attribute | Description | Required |
|---|---|---|
| depot | The project to update | Yes |
| resultproperty | Property to set with success/fail value | Yes |
| comment | Text describing purpose of update | Yes |
| passfile | File 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>


