Packages

class Same extends ScalaMatchingTask

An Ant task that, for a set of files, tests them for byte-to-byte equality with one or more other files.

This task supports the following parameters as attributes:

  • dir
  • todir
  • resultproperty (a property to be set when all tested files pairs are equal, if not set, the task will fail instead),
  • failing (whether to stop if all files are not equal).

It also support the following nested elements:

  • mapper (a mapper from original files to test files).

This task itself defines a fileset that represents the set of original files.

Annotations
@deprecated
Deprecated

(Since version 2.11.0) Use diff

Source
Same.scala
Version

1.0

Linear Supertypes
ScalaMatchingTask, ScalaTask, MatchingTask, SelectorContainer, Task, ProjectComponent, java.lang.Cloneable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Same
  2. ScalaMatchingTask
  3. ScalaTask
  4. MatchingTask
  5. SelectorContainer
  6. Task
  7. ProjectComponent
  8. Cloneable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Same()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Same to any2stringadd[Same] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Same, B)
    Implicit
    This member is added by an implicit conversion from Same to ArrowAssoc[Same] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def XsetIgnore(arg0: String): Unit
    Definition Classes
    MatchingTask
  7. def XsetItems(arg0: String): Unit
    Definition Classes
    MatchingTask
  8. def add(fileNameMapper: FileNameMapper): Unit
  9. def add(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  10. def addAnd(arg0: AndSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  11. def addContains(arg0: ContainsSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  12. def addContainsRegexp(arg0: ContainsRegexpSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  13. def addCustom(arg0: ExtendSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  14. def addDate(arg0: DateSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  15. def addDepend(arg0: DependSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  16. def addDepth(arg0: DepthSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  17. def addDifferent(arg0: DifferentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  18. def addFilename(arg0: FilenameSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  19. def addMajority(arg0: MajoritySelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  20. def addModified(arg0: ModifiedSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  21. def addNone(arg0: NoneSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  22. def addNot(arg0: NotSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  23. def addOr(arg0: OrSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  24. def addPresent(arg0: PresentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  25. def addSelector(arg0: SelectSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  26. def addSize(arg0: SizeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  27. def addType(arg0: TypeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  28. def appendSelector(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  29. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  30. final def bindToOwner(arg0: Task): Unit
    Definition Classes
    Task
  31. def buildError(message: String): Nothing

    Generates a build error.

    Generates a build error. Error location will be the current task in the ant file.

    message

    A message describing the error.

    Attributes
    protected
    Definition Classes
    ScalaTask
    Exceptions thrown

    BuildException A build error exception thrown in every case.

  32. def clone(): AnyRef
    Definition Classes
    ProjectComponent → AnyRef
    Annotations
    @throws( ... )
  33. def createExclude(): NameEntry
    Definition Classes
    MatchingTask
  34. def createExcludesFile(): NameEntry
    Definition Classes
    MatchingTask
  35. def createInclude(): NameEntry
    Definition Classes
    MatchingTask
  36. def createIncludesFile(): NameEntry
    Definition Classes
    MatchingTask
  37. def createMapper(): Mapper
  38. def createPatternSet(): PatternSet
    Definition Classes
    MatchingTask
  39. def ensuring(cond: (Same) ⇒ Boolean, msg: ⇒ Any): Same
    Implicit
    This member is added by an implicit conversion from Same to Ensuring[Same] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. def ensuring(cond: (Same) ⇒ Boolean): Same
    Implicit
    This member is added by an implicit conversion from Same to Ensuring[Same] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  41. def ensuring(cond: Boolean, msg: ⇒ Any): Same
    Implicit
    This member is added by an implicit conversion from Same to Ensuring[Same] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  42. def ensuring(cond: Boolean): Same
    Implicit
    This member is added by an implicit conversion from Same to Ensuring[Same] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  45. def execute(): Unit
    Definition Classes
    Same → Task
  46. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. def getDescription(): String
    Definition Classes
    ProjectComponent
  49. def getDirectoryScanner(arg0: File): DirectoryScanner
    Attributes
    protected[taskdefs]
    Definition Classes
    MatchingTask
  50. final def getImplicitFileSet(): FileSet
    Attributes
    protected[taskdefs]
    Definition Classes
    MatchingTask
  51. def getLocation(): Location
    Definition Classes
    ProjectComponent
  52. def getOwningTarget(): Target
    Definition Classes
    Task
  53. def getProject(): Project
    Definition Classes
    ProjectComponent
  54. def getRuntimeConfigurableWrapper(): RuntimeConfigurable
    Definition Classes
    Task
  55. def getSelectors(arg0: Project): Array[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  56. def getTaskName(): String
    Definition Classes
    Task
  57. def getTaskType(): String
    Definition Classes
    Task
  58. def getWrapper(): RuntimeConfigurable
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  59. def handleErrorFlush(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  60. def handleErrorOutput(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  61. def handleFlush(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  62. 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] )
  63. def handleOutput(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  64. def hasSelectors(): Boolean
    Definition Classes
    MatchingTask → SelectorContainer
  65. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  66. def init(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  67. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  68. final def isInvalid(): Boolean
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  69. def log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
    Definition Classes
    Task
  70. def log(arg0: java.lang.Throwable, arg1: Int): Unit
    Definition Classes
    Task
  71. def log(arg0: String, arg1: Int): Unit
    Definition Classes
    Task → ProjectComponent
  72. def log(arg0: String): Unit
    Definition Classes
    Task → ProjectComponent
  73. def maybeConfigure(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  74. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  75. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  76. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  77. final def perform(): Unit
    Definition Classes
    Task
  78. def reconfigure(): Unit
    Definition Classes
    Task
  79. def selectorCount(): Int
    Definition Classes
    MatchingTask → SelectorContainer
  80. def selectorElements(): java.util.Enumeration[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  81. def setCaseSensitive(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  82. def setDefaultexcludes(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  83. def setDescription(arg0: String): Unit
    Definition Classes
    ProjectComponent
  84. def setDir(input: File): Unit
  85. def setExcludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  86. def setExcludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  87. def setFailondifferent(input: Boolean): Unit
  88. def setFollowSymlinks(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  89. def setIncludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  90. def setIncludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  91. def setLocation(arg0: Location): Unit
    Definition Classes
    ProjectComponent
  92. def setOwningTarget(arg0: Target): Unit
    Definition Classes
    Task
  93. def setProject(arg0: Project): Unit
    Definition Classes
    MatchingTask → ProjectComponent
  94. def setResultproperty(input: String): Unit
  95. def setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
    Definition Classes
    Task
  96. def setTaskName(arg0: String): Unit
    Definition Classes
    Task
  97. def setTaskType(arg0: String): Unit
    Definition Classes
    Task
  98. def setTodir(input: File): Unit
  99. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  100. def toString(): String
    Definition Classes
    AnyRef → Any
  101. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  104. def [B](y: B): (Same, B)
    Implicit
    This member is added by an implicit conversion from Same to ArrowAssoc[Same] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Same to StringFormat[Same] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from ScalaMatchingTask

Inherited from ScalaTask

Inherited from MatchingTask

Inherited from SelectorContainer

Inherited from Task

Inherited from ProjectComponent

Inherited from java.lang.Cloneable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Same to any2stringadd[Same]

Inherited by implicit conversion StringFormat from Same to StringFormat[Same]

Inherited by implicit conversion Ensuring from Same to Ensuring[Same]

Inherited by implicit conversion ArrowAssoc from Same to ArrowAssoc[Same]

Ungrouped