Skip to content
wolfdancer edited this page Aug 27, 2012 · 1 revision

Basics for people who are converting from ANT

Copy Task

The following ANT code

<copy todir="../new/dir">
  <fileset dir="src_dir"/>
</copy>

converted to vark code is:

Ant.copy(
  :todir = file("../new/dir"), 
  :filesetList = {
    file("src_dir").fileset()
  }
)
Clone this wiki locally