This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Tutorials and Wizards : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : CopyFolder |
CopyFolder |
<CopyFolder from="" to="" depth="" />
Occurs: Inside finalize
Multiple instances: Yes
Has attributes: Yes - from, to, depth
Self-closing: Yes
Used to copy source file from folders in the Wizard bundle to the local drive. Before folder contents can be copied in this way, the target folder must exist (use CreateFolder if needs be).
from. Source location of the folder - normally in the source file bundle
to. Target location of the folder - normally on the local hard drive using a location set by (or build on from) a value input via a filePanel pane.
depth. Indicates how many levels of folder are being written. Presumably this helps Tinderbox call a recursing function with more accuracy).
Example:
<CopyFolder from="$pathToHTMLTemplates" to="$DestinationFolder+html templates" depth="1" />
Up: Wizard XML Syntax | |
Previous: choicePanel | Next: CreateFolder |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]