net.sf.antcontrib.cpptasks
Class DependencyTable
java.lang.Object
net.sf.antcontrib.cpptasks.DependencyTable
public final class DependencyTable
extends java.lang.Object
DependencyTable(File baseDir) - Creates a target history table from dependencies.xml in the prject
directory, if it exists.
|
DependencyTable
public DependencyTable(File baseDir)
Creates a target history table from dependencies.xml in the prject
directory, if it exists. Otherwise, initializes the dependencies empty.
baseDir
- output directory for task
commit
public void commit(CCTask task)
elements
public Enumeration elements()
Returns an enumerator of DependencyInfo's
getDependencyInfo
public DependencyInfo getDependencyInfo(String sourceRelativeName,
String includePathIdentifier)
This method returns a DependencyInfo for the specific source file and
include path identifier
load
public void load()
throws IOException,
ParserConfigurationException,
SAXException
needsRebuild
public boolean needsRebuild(CCTask task,
TargetInfo target,
int dependencyDepth)
Determines if the specified target needs to be rebuilt.
This task may result in substantial IO as files are parsed to determine
their dependencies
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.