| java.lang.Object org.openlaszlo.cm.DependencyTracker
DependencyTracker | class DependencyTracker implements java.io.Serializable(Code) | | Tracks compilation dependencies, so that it can tell if a file
needs to be recompiled. An instance stores version information
about all the source files that an object file depends on (the
files such that, if one changed, the object file would be out of
date).
author: Oliver steele |
Method Summary | |
void | addFile(File file) Add the specified file to the list of file dependencies. | void | copyFiles(DependencyTracker t, File omitMe) Copy file info from the given tracker to me, omitting
omitting then given file. | boolean | isUpToDate(Properties properties) Returns true iff all the files listed in this tracker's
dependency list exist and are at the same version as when they
were recorded. | void | updateWebappPath() This will update the FileInfo object chain to use the (possibly new)
webappPath once the DependencyTracker object has been reconstitutded
from ondisk cache. |
addFile | void addFile(File file)(Code) | | Add the specified file to the list of file dependencies.
Parameters: file - a file |
copyFiles | void copyFiles(DependencyTracker t, File omitMe)(Code) | | Copy file info from the given tracker to me, omitting
omitting then given file.
|
isUpToDate | boolean isUpToDate(Properties properties)(Code) | | Returns true iff all the files listed in this tracker's
dependency list exist and are at the same version as when they
were recorded.
a boolean |
updateWebappPath | void updateWebappPath()(Code) | | This will update the FileInfo object chain to use the (possibly new)
webappPath once the DependencyTracker object has been reconstitutded
from ondisk cache.
|
|
|