org.apache.tools.ant.taskdefs.optional.depend
public class Depend extends MatchingTask
Method Summary | |
---|---|
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.
|
Returns: A path object to be configured by Ant
Throws: BuildException Thrown in case of an unrecoverable error.
Returns: the current dependency classpath
Parameters: srcDir the source directory files the names of the files in the source dir which are to be checked.
Parameters: cache the dependency cache file
Parameters: classpath the classpath to be used when checking for dependencies on elements in the classpath
Parameters: r a reference to a path object to be used as the depend classpath
Parameters: closure indicate if dependency closure is required.
Parameters: destPath the destination areas where build files are written
Parameters: dump set to true to dump dependency information to the log
Parameters: srcPath the source path