Packages

c

scala.tools.ant

ScalaTool

class ScalaTool extends ScalaMatchingTask

An Ant task that generates a shell or batch script to execute a Scala program.

This task can take the following parameters as attributes:

  • file (mandatory),
  • class (mandatory),
  • platforms,
  • classpath,
  • properties,
  • javaflags,
  • toolflags.
Version

1.1

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

Instance Constructors

  1. new ScalaTool()

Type Members

  1. abstract class PermissibleValue extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def XsetIgnore(arg0: String): Unit
    Definition Classes
    MatchingTask
  5. def XsetItems(arg0: String): Unit
    Definition Classes
    MatchingTask
  6. def add(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  7. def addAnd(arg0: AndSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  8. def addContains(arg0: ContainsSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  9. def addContainsRegexp(arg0: ContainsRegexpSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  10. def addCustom(arg0: ExtendSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  11. def addDate(arg0: DateSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  12. def addDepend(arg0: DependSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  13. def addDepth(arg0: DepthSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  14. def addDifferent(arg0: DifferentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  15. def addFilename(arg0: FilenameSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  16. def addMajority(arg0: MajoritySelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  17. def addModified(arg0: ModifiedSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  18. def addNone(arg0: NoneSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  19. def addNot(arg0: NotSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  20. def addOr(arg0: OrSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  21. def addPresent(arg0: PresentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  22. def addSelector(arg0: SelectSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  23. def addSize(arg0: SizeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  24. def addType(arg0: TypeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  25. def appendSelector(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  26. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  27. final def bindToOwner(arg0: Task): Unit
    Definition Classes
    Task
  28. 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.

  29. def clone(): AnyRef
    Definition Classes
    ProjectComponent → AnyRef
    Annotations
    @throws( ... )
  30. def createClassPath: Path

    A special method that allows ant classpath path definitions to be nested within this ant task.

  31. def createExclude(): NameEntry
    Definition Classes
    MatchingTask
  32. def createExcludesFile(): NameEntry
    Definition Classes
    MatchingTask
  33. def createInclude(): NameEntry
    Definition Classes
    MatchingTask
  34. def createIncludesFile(): NameEntry
    Definition Classes
    MatchingTask
  35. def createPatternSet(): PatternSet
    Definition Classes
    MatchingTask
  36. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  38. def execute(): Unit

    Performs the tool creation.

    Performs the tool creation.

    Definition Classes
    ScalaTool → Task
  39. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def getDescription(): String
    Definition Classes
    ProjectComponent
  42. def getDirectoryScanner(arg0: File): DirectoryScanner
    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    MatchingTask
  43. final def getImplicitFileSet(): FileSet
    Attributes
    protected[org.apache.tools.ant.taskdefs]
    Definition Classes
    MatchingTask
  44. def getLocation(): Location
    Definition Classes
    ProjectComponent
  45. def getOwningTarget(): Target
    Definition Classes
    Task
  46. def getProject(): Project
    Definition Classes
    ProjectComponent
  47. def getRuntimeConfigurableWrapper(): RuntimeConfigurable
    Definition Classes
    Task
  48. def getSelectors(arg0: Project): Array[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  49. def getTaskName(): String
    Definition Classes
    Task
  50. def getTaskType(): String
    Definition Classes
    Task
  51. def getWrapper(): RuntimeConfigurable
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  52. def handleErrorFlush(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  53. def handleErrorOutput(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  54. def handleFlush(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  55. 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] )
  56. def handleOutput(arg0: String): Unit
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  57. def hasSelectors(): Boolean
    Definition Classes
    MatchingTask → SelectorContainer
  58. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  59. def init(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  60. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  61. final def isInvalid(): Boolean
    Attributes
    protected[org.apache.tools.ant]
    Definition Classes
    Task
  62. def log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
    Definition Classes
    Task
  63. def log(arg0: java.lang.Throwable, arg1: Int): Unit
    Definition Classes
    Task
  64. def log(arg0: String, arg1: Int): Unit
    Definition Classes
    Task → ProjectComponent
  65. def log(arg0: String): Unit
    Definition Classes
    Task → ProjectComponent
  66. def maybeConfigure(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  67. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  68. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. final def perform(): Unit
    Definition Classes
    Task
  71. def reconfigure(): Unit
    Definition Classes
    Task
  72. def selectorCount(): Int
    Definition Classes
    MatchingTask → SelectorContainer
  73. def selectorElements(): java.util.Enumeration[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  74. def setCaseSensitive(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  75. def setClass(input: String): Unit

    Sets the main class attribute.

  76. def setClassPath(input: String): Unit

    Sets the classpath with which to run the tool.

    Sets the classpath with which to run the tool.

    Note that this mechanism of setting the classpath is generally preferred for general purpose scripts, as this does not assume all elements are relative to the Ant basedir. Additionally, the platform specific demarcation of any script variables (e.g. ${SCALA_HOME} or %SCALA_HOME%) can be specified in a platform independent way (e.g. @SCALA_HOME@) and automatically translated for you.

  77. def setClassPathRef(input: Reference): Unit

    Adds an Ant Path reference to the tool's classpath.

    Adds an Ant Path reference to the tool's classpath. Note that all entries in the path must exist either relative to the project basedir or with an absolute path to a file in the filesystem. As a result, this is not a mechanism for setting the classpath for more general use scripts.

  78. def setDefaultexcludes(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  79. def setDescription(arg0: String): Unit
    Definition Classes
    ProjectComponent
  80. def setExcludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  81. def setExcludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  82. def setFile(input: File): Unit

    Sets the file attribute.

  83. def setFollowSymlinks(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  84. def setIncludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  85. def setIncludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  86. def setJavaflags(input: String): Unit

    Sets flags to be passed to the Java interpreter.

  87. def setLocation(arg0: Location): Unit
    Definition Classes
    ProjectComponent
  88. def setOwningTarget(arg0: Target): Unit
    Definition Classes
    Task
  89. def setPlatforms(input: String): Unit

    Sets the platforms attribute.

  90. def setProject(arg0: Project): Unit
    Definition Classes
    MatchingTask → ProjectComponent
  91. def setProperties(input: String): Unit

    Sets JVM properties that will be set whilst running the tool.

  92. def setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
    Definition Classes
    Task
  93. def setTaskName(arg0: String): Unit
    Definition Classes
    Task
  94. def setTaskType(arg0: String): Unit
    Definition Classes
    Task
  95. def setToolflags(input: String): Unit

    Sets flags to be passed to the tool.

  96. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  97. def toString(): String
    Definition Classes
    AnyRef → Any
  98. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  101. object Platforms extends PermissibleValue

    Defines valid values for the platforms property.

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

Ungrouped