public class Depend extends MatchingTask
fileset| Constructor and Description | 
|---|
| Depend() | 
| Modifier and Type | Method and Description | 
|---|---|
| Path | createClasspath()Adds a classpath to be used for this dependency check. | 
| void | execute()Does the work. | 
| Path | getClasspath()Gets the classpath to be used for this dependency check. | 
| protected void | scanDir(File srcDir,
       String[] files)Scans the directory looking for source files that are newer than
 their class files. | 
| void | setCache(File cache)Sets the dependency cache file. | 
| void | setClasspath(Path classpath)Set the classpath to be used for this dependency check. | 
| void | setClasspathRef(Reference r)Adds a reference to a classpath defined elsewhere. | 
| void | setClosure(boolean closure)If true, transitive dependencies are followed until the
 closure of the dependency set if reached. | 
| void | setDestDir(Path destPath)Set the destination directory where the compiled Java files exist. | 
| void | setDump(boolean dump)If true, the dependency information will be written
 to the debug level log. | 
| void | setSrcdir(Path srcPath)Set the directories path to find the Java source files. | 
| void | setWarnOnRmiStubs(boolean warnOnRmiStubs)Flag to set to true if you want dependency issues with RMI
 stubs to appear at warning level. | 
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocationpublic Path createClasspath()
public void execute()
             throws BuildException
execute in class TaskBuildException - Thrown in case of an unrecoverable error.public Path getClasspath()
protected void scanDir(File srcDir, String[] files)
srcDir - the source directoryfiles - the names of the files in the source dir which are to be
      checked.public void setCache(File cache)
cache - the dependency cache filepublic void setClasspath(Path classpath)
classpath - the classpath to be used when checking for
      dependencies on elements in the classpathpublic void setClasspathRef(Reference r)
r - a reference to a path object to be used as the depend
      classpathpublic void setClosure(boolean closure)
closure - indicate if dependency closure is required.public void setDestDir(Path destPath)
destPath - the destination areas where build files are writtenpublic void setDump(boolean dump)
dump - set to true to dump dependency information to the logpublic void setSrcdir(Path srcPath)
srcPath - the source pathpublic void setWarnOnRmiStubs(boolean warnOnRmiStubs)
warnOnRmiStubs - if true set dependency issues to appear at warning level.