TransformCreate Task Reference
From ControlTier
Contents |
Description
TransformCreate defines a Transform in the model. Typically this task is preceded with a call to template-create task to upload the template to the DAV share.
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
template
A template.
context
A resource context.
document
A document.
Examples
Create the transform definition.
<transform-create serverurl="${viewdoc.server}" depot="${resource.depot}"
resultproperty="rs"
comment="something re this update">
<context direction="internal" proximity="1" maprefuri="${resource.mapref-uri}"/>
<document file="haha.txt" dir="/${resource.depot}/publish" type="text-plain"/>
<template file="${templateFile}" dir="/${resource.depot}/templates" type="simple"/>
</transform-create>
| ||||||||||||||