Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lenya.cms.ant
Class BulkCopyTask  view BulkCopyTask download BulkCopyTask.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.Copy
              extended byorg.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.


Field Summary
private  org.apache.tools.ant.types.Path sourceDirs
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.Copy
completeDirMap, destDir, destFile, dirCopyMap, file, fileCopyMap, filesets, 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()
          Performs the copy operation.
private  java.util.List getFileSets()
           
 void setSourceDirs(org.apache.tools.ant.types.Path sourceDirs)
           
 
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 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
 

Field Detail

sourceDirs

private org.apache.tools.ant.types.Path sourceDirs
Constructor Detail

BulkCopyTask

public BulkCopyTask()
Method Detail

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()