org.apache.tools.ant.taskdefs
Class Copydir

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.tools.ant.taskdefs.MatchingTask
              |
              +--org.apache.tools.ant.taskdefs.Copydir

public class Copydir
extends MatchingTask

Copies a directory.

Author:
James Davidson duncan@x180.com

Inner classes inherited from class org.apache.tools.ant.taskdefs.MatchingTask
MatchingTask.NameEntry
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
excludeList, includeList, useDefaultExcludes
 
Fields inherited from class org.apache.tools.ant.Task
description, location, project, target, taskName, taskType
 
Constructor Summary
Copydir()
           
 
Method Summary
 void execute()
          Called by the project to let the task do it's work.
 void setDest(java.lang.String dest)
           
 void setFiltering(java.lang.String filter)
           
 void setForceoverwrite(java.lang.String force)
           
 void setSrc(java.lang.String src)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
createExclude, createInclude, getDirectoryScanner, getProperty, setDefaultexcludes, setExcludes, setExcludesfile, setIgnore, setIncludes, setIncludesfile, setItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getProject, getTaskName, init, log, log, setDescription, setLocation, setOwningTarget, setTaskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Copydir

public Copydir()
Method Detail

setSrc

public void setSrc(java.lang.String src)

setDest

public void setDest(java.lang.String dest)

setFiltering

public void setFiltering(java.lang.String filter)

setForceoverwrite

public void setForceoverwrite(java.lang.String force)

execute

public void execute()
             throws BuildException
Description copied from class: Task
Called by the project to let the task do it's work. Normally it does nothing.
Overrides:
execute in class Task
Following copied from class: org.apache.tools.ant.Task
Throws:
BuildException - if someting goes wrong with the build


Copyright © 2000 Apache Software Foundation. All Rights Reserved.