tecgraf.javautils.ant.taskdefs
Class TecResourceUtils
java.lang.Object
org.apache.tools.ant.util.ResourceUtils
tecgraf.javautils.ant.taskdefs.TecResourceUtils
public class TecResourceUtils
- extends org.apache.tools.ant.util.ResourceUtils
this class provides utility methods to process resources
- Since:
- Ant 1.5.2
- Author:
- Antoine Levy-Lambert
|
Method Summary |
static org.apache.tools.ant.types.Resource[] |
selectAllSources(org.apache.tools.ant.ProjectComponent logTo,
org.apache.tools.ant.types.Resource[] source,
org.apache.tools.ant.util.FileNameMapper mapper,
org.apache.tools.ant.types.ResourceFactory targets)
{
tells which source files should be reprocessed based on the
last modification date of target files |
| Methods inherited from class org.apache.tools.ant.util.ResourceUtils |
compareContent, contentEquals, copyResource, copyResource, copyResource, selectOutOfDateSources, selectOutOfDateSources, selectOutOfDateSources, setLastModified |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TecResourceUtils
public TecResourceUtils()
selectAllSources
public static org.apache.tools.ant.types.Resource[] selectAllSources(org.apache.tools.ant.ProjectComponent logTo,
org.apache.tools.ant.types.Resource[] source,
org.apache.tools.ant.util.FileNameMapper mapper,
org.apache.tools.ant.types.ResourceFactory targets)
- {
tells which source files should be reprocessed based on the
last modification date of target files
- Parameters:
logTo - where to send (more or less) interesting outputsource - array of resources bearing relative path and last
modification datemapper - filename mapper indicating how to find the target
filestargets - object able to map as a resource a relative path
at destination
- Returns:
- array containing the source files which need to be
copied or processed, because the targets are out of date or do
not exist
Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.