Class Sync.SyncTarget

  extended by
      extended by
          extended by
              extended by
All Implemented Interfaces:
java.lang.Cloneable, SelectorContainer
Enclosing class:

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.

Ant 1.7

Field Summary
Fields inherited from class
checked, ref
Fields inherited from class
description, location, project
Constructor Summary
          Constructor for SyncTarget.
Method Summary
 void setDir( dir)
          Override AbstractFileSet#setDir(File) to disallow setting the directory.
Methods inherited from class
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendExcludes, appendIncludes, appendSelector, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, setupDirectoryScanner, toString
Methods inherited from class
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes
Methods inherited from class
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


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

Method Detail


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

setDir in class AbstractFileSet
dir - ignored
BuildException - always