Method Summary |
|
public void | add(ResourceCollection rc) Adds a collection of filesystem resources to copy. |
public void | addFileset(FileSet set) Adds a set of files to copy. |
public void | addPreserveInTarget(SyncTarget s) A container for patterns and selectors that can be used to
specify files that should be kept in the target even if they
are not present in any source directory. |
public void | execute() Execute the sync task. |
public void | init() Initialize the sync task. |
public void | setFailOnError(boolean failonerror) If false, note errors to the output but keep going. |
public void | setGranularity(long granularity) The number of milliseconds leeway to give before deciding a
target is out of date. |
public void | setIncludeEmptyDirs(boolean includeEmpty) Used to copy empty directories. |
public void | setOverwrite(boolean overwrite) Overwrite any existing destination file(s). |
public void | setTodir(File destDir) Sets the destination directory. |
public void | setVerbose(boolean verbose) Used to force listing of all names of copied files. |