org.shiftone.jrat.inject.ant
Class InjectCopyTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Copy
              extended by org.shiftone.jrat.inject.ant.InjectCopyTask

public class InjectCopyTask
extends org.apache.tools.ant.taskdefs.Copy

Apache Ant Task that extends the common Copy task.

Author:
jeff@shiftone.org (Jeff Drost)

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
InjectCopyTask()
           
 
Method Summary
 MatcherMethodCriteria createExclude()
           
 MatcherMethodCriteria createInclude()
           
protected  void doFileOperations()
          Actually does the file (and possibly empty directory) copies.
 void execute()
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.Copy
add, addFileset, buildMap, createFilterChain, createFilterSet, createMapper, 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

InjectCopyTask

public InjectCopyTask()
Method Detail

createInclude

public MatcherMethodCriteria createInclude()

createExclude

public MatcherMethodCriteria createExclude()

doFileOperations

protected void doFileOperations()
Actually does the file (and possibly empty directory) copies. This is a good method for subclasses to override.

Overrides:
doFileOperations in class org.apache.tools.ant.taskdefs.Copy

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.taskdefs.Copy
Throws:
org.apache.tools.ant.BuildException