ControlTier Inc. > Open.ControlTier
 
Font size:      

Template-Create

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

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

template

A template.

Examples

Load the file, myFile.template, as a new template in the current Workbench project.

	<template-create
	   depot="${entity.depot}"
           resultproperty="rs"
           comment="Initial load of config">
          <template
             file="myFile.template"
             dir="/${entity.depot}/templates"
             type="xpath"
             bootstrapfile="myFile"
             />
        </template-create>