Previous Next

Copies a folder to a destination (another folder) on the file system. Directory contents and descendent folders are also copied.


overwrite  ::=  { yes | no }

The required source identifies the folder to be copied. The required destination identifies the destination folder.

If overwrite="yes" is passed, then any existing content in the destination folder is silently overwritten. For details on boolean values in USoft Blend, click here.



<pc:CopyDirectory source="{$sourcedir}" destination="{$serverdir}" overwrite="yes">
      <pc:ConsoleWrite>Server deployed to <pc:value-of select="$serverdir"/>.</pc:ConsoleWrite>