java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Copy
org.apache.lenya.cms.ant.BulkCopyTask
- public class BulkCopyTask
- extends org.apache.tools.ant.taskdefs.Copy
Copies all files matching filename or a all specififed filesets from each source directory.
Usage:
<bulkCopy
sourcedirs="dirOne:dirTwo"
todir="WEB-INF/lib"
flatten="true">
<fileset includes="java/lib/*"/>
</bulkCopy>
The above sample copies dirOne/java/lib/* and dirTwo/java/lib/*
to WEB-INF/lib.
| Fields inherited from class org.apache.tools.ant.taskdefs.Copy |
completeDirMap, destDir, destFile, dirCopyMap, file, fileCopyMap, filesets, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, verbosity |
| Methods inherited from class org.apache.tools.ant.taskdefs.Copy |
addFileset, buildMap, createFilterChain, createFilterSet, createMapper, doFileOperations, getEncoding, getFileUtils, getFilterChains, getFilterSets, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, scan, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setTodir, setTofile, setVerbose, validateAttributes |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceDirs
private org.apache.tools.ant.types.Path sourceDirs
BulkCopyTask
public BulkCopyTask()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Description copied from class:
org.apache.tools.ant.taskdefs.Copy
- Performs the copy operation.
setSourceDirs
public void setSourceDirs(org.apache.tools.ant.types.Path sourceDirs)
getFileSets
private java.util.List getFileSets()