TemplateCreate Task Reference

From ControlTier

Jump to: navigation, search

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

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="${resource.depot}"
           resultproperty="rs"
           comment="Initial load of config">
          <template
             file="myFile.template"
             dir="/${resource.depot}/templates"
             type="xpath"
             bootstrapfile="myFile"
             />
        </template-create>

      
Personal tools
Namespaces
Variants
Actions
Navigation
Communication
Development
Toolbox
Print/export