|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Copy
org.apache.lenya.cms.ant.BulkCopyTask
public class BulkCopyTask
Copies all files matching filename or all specified 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.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.Copy |
---|
completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, verbosity |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
BulkCopyTask()
|
Method Summary | |
---|---|
void |
execute()
|
void |
setSourceDirs(org.apache.tools.ant.types.Path sourceDirs)
|
Methods inherited from class org.apache.tools.ant.taskdefs.Copy |
---|
add, 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 org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BulkCopyTask()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.taskdefs.Copy
org.apache.tools.ant.BuildException
Copy.execute()
public void setSourceDirs(org.apache.tools.ant.types.Path sourceDirs)
sourceDirs
- Colon separated list of source directories
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |