TemplateCreate Task Reference
From ControlTier
Contents |
Description
This Ant Task creates a template file on the server's DAV share, uploading the contents of a "bootstrap" file as the content of the template.
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.
Examples
Load the file, myFile.template, as a new template in the current Workbench project.
<template-create
depot="${resource.depot}"
resultproperty="rs"
comment="Initial load of config">
<template
file="myFile.template"
dir="/${resource.depot}/templates"
type="xpath"
bootstrapfile="myFile"
/>
</template-create>