org.apache.tools.ant.taskdefs

Class Copydir

  • All Implemented Interfaces:
    java.lang.Cloneable, SelectorContainer

    Deprecated. 
    The copydir task is deprecated since Ant 1.2. Use copy instead.

    public class Copydir
    extends MatchingTask
    Copies a directory.
    Since:
    Ant 1.1
    • Constructor Detail

      • Copydir

        public Copydir()
        Deprecated. 
    • Method Detail

      • setSrc

        public void setSrc(java.io.File src)
        Deprecated. 
        The src attribute
        Parameters:
        src - the source file
      • setDest

        public void setDest(java.io.File dest)
        Deprecated. 
        The dest attribute
        Parameters:
        dest - the destination file
      • setFiltering

        public void setFiltering(boolean filter)
        Deprecated. 
        The filtering attribute. Default is false.
        Parameters:
        filter - if true use filtering
      • setFlatten

        public void setFlatten(boolean flatten)
        Deprecated. 
        The flattening attribute. Default is false.
        Parameters:
        flatten - if true use flattening
      • setForceoverwrite

        public void setForceoverwrite(boolean force)
        Deprecated. 
        The forceoverwrite attribute. Default is false.
        Parameters:
        force - if true overwrite even if the destination file is newer that the source file