org.apache.tools.ant.taskdefs

Class Sync.SyncTarget

public static class Sync.SyncTarget extends AbstractFileSet

Inner class used to hold exclude patterns and selectors to save stuff that happens to live in the target directory but should not get removed.

Since: Ant 1.7

Constructor Summary
SyncTarget()
Constructor for SyncTarget.
Method Summary
voidsetDir(File dir)
Override AbstractFileSet#setDir(File) to disallow setting the directory.

Constructor Detail

SyncTarget

public SyncTarget()
Constructor for SyncTarget. This just changes the default value of "defaultexcludes" from true to false.

Method Detail

setDir

public void setDir(File dir)
Override AbstractFileSet#setDir(File) to disallow setting the directory.

Parameters: dir ignored

Throws: BuildException always