de.tototec.sbuild.ant.tasks

AntCopy

class AntCopy extends Copy

Wrapper for the Ant Copy task.

Copy a file or a directory or a set of files and directories.

Linear Supertypes
Copy, Task, ProjectComponent, Cloneable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AntCopy
  2. Copy
  3. Task
  4. ProjectComponent
  5. Cloneable
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AntCopy(file: File = null, toFile: File = null, toDir: File = null, preserveLastModified: Boolean = null, filtering: Boolean = null, overwrite: Boolean = null, force: Boolean = null, flatten: Boolean = null, verbose: Boolean = null, includeEmptyDirs: Boolean = null, quiet: Boolean = null, enableMultipleMappings: Boolean = null, encoding: String = null, outputEncoding: String = null, granularity: Long = null, fileSets: Seq[FileSet] = null, fileSet: FileSet = null)(implicit _project: Project)

    Creates and configures a copy task.

    Creates and configures a copy task.

    file

    The file to copy.

    toFile

    The target file to copy to.

    toDir

    The target directory to copy to.

    preserveLastModified

    Give the copied files the same last modified time as the original source file.

    filtering

    Indicates whether token filtering uses the global build-file filters (of Ant) should take place during the copy.

    overwrite

    Overwrite existing files even if the destination files are newer.

    force

    Overwrite read-only destination files.

    flatten

    Ignore the directory structure of the source files, and copy all files into the directory specified by the toDir parameter.

    verbose

    Log the files that are being copied.

    includeEmptyDirs

    Copy any empty directories included in the FileSet(s).

    quiet

    If true and failOnError is false, then do not log a warning message when the file to copy does not exist or one of the nested file sets points to a directory that does not exist or an error occurs while copying.

    enableMultipleMappings

    If true the task will process to all the mappings for a given source path.

    encoding

    The encoding to assume when filter-copying the files.

    outputEncoding

    the encoding to use when writing the files.

    granularity

    The number of milliseconds leeway to give before deciding a file is out of date.

    fileSets

    org.apache.tools.ant.types.FileSet's used to select groups of files to copy.

    fileSet

    A org.apache.tools.ant.types.FileSet used to select groups of files to copy.

  2. new AntCopy()(implicit _project: Project)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AntCopy to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AntCopy, B)

    Implicit information
    This member is added by an implicit conversion from AntCopy to ArrowAssoc[AntCopy] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def add(arg0: FileNameMapper): Unit

    Definition Classes
    Copy
  9. def add(arg0: ResourceCollection): Unit

    Definition Classes
    Copy
  10. def addFileset(arg0: FileSet): Unit

    Definition Classes
    Copy
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. final def bindToOwner(arg0: Task): Unit

    Definition Classes
    Task
  13. def buildMap(arg0: Array[Resource], arg1: File, arg2: FileNameMapper): Map

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  14. def buildMap(arg0: File, arg1: File, arg2: Array[String], arg3: FileNameMapper, arg4: Hashtable): Unit

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  15. def clone(): AnyRef

    Definition Classes
    ProjectComponent → AnyRef
    Annotations
    @throws( ... )
  16. def createFilterChain(): FilterChain

    Definition Classes
    Copy
  17. def createFilterSet(): FilterSet

    Definition Classes
    Copy
  18. def createMapper(): Mapper

    Definition Classes
    Copy
    Annotations
    @throws( ... )
  19. def doFileOperations(): Unit

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  20. def doResourceOperations(arg0: Map): Unit

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  21. def ensuring(cond: (AntCopy) ⇒ Boolean, msg: ⇒ Any): AntCopy

    Implicit information
    This member is added by an implicit conversion from AntCopy to Ensuring[AntCopy] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (AntCopy) ⇒ Boolean): AntCopy

    Implicit information
    This member is added by an implicit conversion from AntCopy to Ensuring[AntCopy] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: ⇒ Any): AntCopy

    Implicit information
    This member is added by an implicit conversion from AntCopy to Ensuring[AntCopy] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): AntCopy

    Implicit information
    This member is added by an implicit conversion from AntCopy to Ensuring[AntCopy] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  27. def execute(): Unit

    Definition Classes
    Copy → Task
    Annotations
    @throws( ... )
  28. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AntCopy to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  31. def getDescription(): String

    Definition Classes
    ProjectComponent
  32. def getEncoding(): String

    Definition Classes
    Copy
  33. def getFileUtils(): FileUtils

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  34. def getFilterChains(): Vector

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  35. def getFilterSets(): Vector

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  36. def getForce(): Boolean

    Definition Classes
    Copy
  37. def getLocation(): Location

    Definition Classes
    ProjectComponent
  38. def getOutputEncoding(): String

    Definition Classes
    Copy
  39. def getOwningTarget(): org.apache.tools.ant.Target

    Definition Classes
    Task
  40. def getPreserveLastModified(): Boolean

    Definition Classes
    Copy
  41. def getProject(): org.apache.tools.ant.Project

    Definition Classes
    ProjectComponent
  42. def getRuntimeConfigurableWrapper(): RuntimeConfigurable

    Definition Classes
    Task
  43. def getTaskName(): String

    Definition Classes
    Task
  44. def getTaskType(): String

    Definition Classes
    Task
  45. def getWrapper(): RuntimeConfigurable

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  46. def handleErrorFlush(arg0: String): Unit

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  47. def handleErrorOutput(arg0: String): Unit

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  48. def handleFlush(arg0: String): Unit

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  49. def handleInput(arg0: Array[Byte], arg1: Int, arg2: Int): Int

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
    Annotations
    @throws( classOf[java.io.IOException] )
  50. def handleOutput(arg0: String): Unit

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  51. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  52. def init(): Unit

    Definition Classes
    Task
    Annotations
    @throws( ... )
  53. def isEnableMultipleMapping(): Boolean

    Definition Classes
    Copy
  54. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  55. final def isInvalid(): Boolean

    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  56. def log(arg0: String, arg1: Throwable, arg2: Int): Unit

    Definition Classes
    Task
  57. def log(arg0: Throwable, arg1: Int): Unit

    Definition Classes
    Task
  58. def log(arg0: String, arg1: Int): Unit

    Definition Classes
    Task → ProjectComponent
  59. def log(arg0: String): Unit

    Definition Classes
    Task → ProjectComponent
  60. def maybeConfigure(): Unit

    Definition Classes
    Task
    Annotations
    @throws( ... )
  61. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  62. final def notify(): Unit

    Definition Classes
    AnyRef
  63. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  64. final def perform(): Unit

    Definition Classes
    Task
  65. def reconfigure(): Unit

    Definition Classes
    Task
  66. def scan(arg0: Array[Resource], arg1: File): Map

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  67. def scan(arg0: File, arg1: File, arg2: Array[String], arg3: Array[String]): Unit

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  68. def setDescription(arg0: String): Unit

    Definition Classes
    ProjectComponent
  69. def setEnableMultipleMappings(arg0: Boolean): Unit

    Definition Classes
    Copy
  70. def setEncoding(arg0: String): Unit

    Definition Classes
    Copy
  71. def setFailOnError(arg0: Boolean): Unit

    Definition Classes
    Copy
  72. def setFile(arg0: File): Unit

    Definition Classes
    Copy
  73. def setFiltering(arg0: Boolean): Unit

    Definition Classes
    Copy
  74. def setFlatten(arg0: Boolean): Unit

    Definition Classes
    Copy
  75. def setForce(arg0: Boolean): Unit

    Definition Classes
    Copy
  76. def setGranularity(arg0: Long): Unit

    Definition Classes
    Copy
  77. def setIncludeEmptyDirs(arg0: Boolean): Unit

    Definition Classes
    Copy
  78. def setLocation(arg0: Location): Unit

    Definition Classes
    ProjectComponent
  79. def setOutputEncoding(arg0: String): Unit

    Definition Classes
    Copy
  80. def setOverwrite(arg0: Boolean): Unit

    Definition Classes
    Copy
  81. def setOwningTarget(arg0: org.apache.tools.ant.Target): Unit

    Definition Classes
    Task
  82. def setPreserveLastModified(arg0: Boolean): Unit

    Definition Classes
    Copy
  83. def setProject(arg0: org.apache.tools.ant.Project): Unit

    Definition Classes
    ProjectComponent
  84. def setQuiet(arg0: Boolean): Unit

    Definition Classes
    Copy
  85. def setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit

    Definition Classes
    Task
  86. def setTaskName(arg0: String): Unit

    Definition Classes
    Task
  87. def setTaskType(arg0: String): Unit

    Definition Classes
    Task
  88. def setToDir(toDir: File): Unit

    Set the target directory to copy to.

  89. def setToFile(toFile: File): Unit

    Set the target file to copy to.

  90. def setTodir(arg0: File): Unit

    Definition Classes
    Copy
  91. def setTofile(arg0: File): Unit

    Definition Classes
    Copy
  92. def setVerbose(arg0: Boolean): Unit

    Definition Classes
    Copy
  93. def supportsNonFileResources(): Boolean

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
  94. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  95. def toString(): String

    Definition Classes
    AnyRef → Any
  96. def validateAttributes(): Unit

    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    Copy
    Annotations
    @throws( ... )
  97. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. def [B](y: B): (AntCopy, B)

    Implicit information
    This member is added by an implicit conversion from AntCopy to ArrowAssoc[AntCopy] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AntCopy to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (antCopy: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AntCopy to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (antCopy: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def setPreserveLastModified(arg0: String): Unit

    Definition Classes
    Copy
    Annotations
    @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def x: AntCopy

    Implicit information
    This member is added by an implicit conversion from AntCopy to ArrowAssoc[AntCopy] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (antCopy: ArrowAssoc[AntCopy]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: AntCopy

    Implicit information
    This member is added by an implicit conversion from AntCopy to Ensuring[AntCopy] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (antCopy: Ensuring[AntCopy]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Copy

Inherited from Task

Inherited from ProjectComponent

Inherited from Cloneable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AntCopy to StringAdd

Inherited by implicit conversion any2stringfmt from AntCopy to StringFormat

Inherited by implicit conversion any2ArrowAssoc from AntCopy to ArrowAssoc[AntCopy]

Inherited by implicit conversion any2Ensuring from AntCopy to Ensuring[AntCopy]

Ungrouped