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.
Source
ScalaTool.scala
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
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 ScalaTool()

Type Members

  1. abstract class PermissibleValue extends AnyRef

Value Members

  1. def XsetIgnore(arg0: String): Unit
    Definition Classes
    MatchingTask
  2. def XsetItems(arg0: String): Unit
    Definition Classes
    MatchingTask
  3. def add(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  4. def addAnd(arg0: AndSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  5. def addContains(arg0: ContainsSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  6. def addContainsRegexp(arg0: ContainsRegexpSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  7. def addCustom(arg0: ExtendSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  8. def addDate(arg0: DateSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  9. def addDepend(arg0: DependSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  10. def addDepth(arg0: DepthSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  11. def addDifferent(arg0: DifferentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  12. def addFilename(arg0: FilenameSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  13. def addMajority(arg0: MajoritySelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  14. def addModified(arg0: ModifiedSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  15. def addNone(arg0: NoneSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  16. def addNot(arg0: NotSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  17. def addOr(arg0: OrSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  18. def addPresent(arg0: PresentSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  19. def addSelector(arg0: SelectSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  20. def addSize(arg0: SizeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  21. def addType(arg0: TypeSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  22. def appendSelector(arg0: FileSelector): Unit
    Definition Classes
    MatchingTask → SelectorContainer
  23. final def bindToOwner(arg0: Task): Unit
    Definition Classes
    Task
  24. def clone(): AnyRef
    Definition Classes
    ProjectComponent → AnyRef
    Annotations
    @throws( ... )
  25. def createClassPath: Path

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

  26. def createExclude(): NameEntry
    Definition Classes
    MatchingTask
  27. def createExcludesFile(): NameEntry
    Definition Classes
    MatchingTask
  28. def createInclude(): NameEntry
    Definition Classes
    MatchingTask
  29. def createIncludesFile(): NameEntry
    Definition Classes
    MatchingTask
  30. def createPatternSet(): PatternSet
    Definition Classes
    MatchingTask
  31. def execute(): Unit

    Performs the tool creation.

    Performs the tool creation.

    Definition Classes
    ScalaTool → Task
  32. def getDescription(): String
    Definition Classes
    ProjectComponent
  33. def getLocation(): Location
    Definition Classes
    ProjectComponent
  34. def getOwningTarget(): Target
    Definition Classes
    Task
  35. def getProject(): Project
    Definition Classes
    ProjectComponent
  36. def getRuntimeConfigurableWrapper(): RuntimeConfigurable
    Definition Classes
    Task
  37. def getSelectors(arg0: Project): Array[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  38. def getTaskName(): String
    Definition Classes
    Task
  39. def getTaskType(): String
    Definition Classes
    Task
  40. def hasSelectors(): Boolean
    Definition Classes
    MatchingTask → SelectorContainer
  41. def init(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  42. def log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
    Definition Classes
    Task
  43. def log(arg0: java.lang.Throwable, arg1: Int): Unit
    Definition Classes
    Task
  44. def log(arg0: String, arg1: Int): Unit
    Definition Classes
    Task → ProjectComponent
  45. def log(arg0: String): Unit
    Definition Classes
    Task → ProjectComponent
  46. def maybeConfigure(): Unit
    Definition Classes
    Task
    Annotations
    @throws( ... )
  47. final def perform(): Unit
    Definition Classes
    Task
  48. def reconfigure(): Unit
    Definition Classes
    Task
  49. def selectorCount(): Int
    Definition Classes
    MatchingTask → SelectorContainer
  50. def selectorElements(): java.util.Enumeration[FileSelector]
    Definition Classes
    MatchingTask → SelectorContainer
  51. def setCaseSensitive(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  52. def setClass(input: String): Unit

    Sets the main class attribute.

  53. 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.

  54. 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.

  55. def setDefaultexcludes(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  56. def setDescription(arg0: String): Unit
    Definition Classes
    ProjectComponent
  57. def setExcludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  58. def setExcludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  59. def setFile(input: File): Unit

    Sets the file attribute.

  60. def setFollowSymlinks(arg0: Boolean): Unit
    Definition Classes
    MatchingTask
  61. def setIncludes(arg0: String): Unit
    Definition Classes
    MatchingTask
  62. def setIncludesfile(arg0: File): Unit
    Definition Classes
    MatchingTask
  63. def setJavaflags(input: String): Unit

    Sets flags to be passed to the Java interpreter.

  64. def setLocation(arg0: Location): Unit
    Definition Classes
    ProjectComponent
  65. def setOwningTarget(arg0: Target): Unit
    Definition Classes
    Task
  66. def setPlatforms(input: String): Unit

    Sets the platforms attribute.

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

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

  69. def setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
    Definition Classes
    Task
  70. def setTaskName(arg0: String): Unit
    Definition Classes
    Task
  71. def setTaskType(arg0: String): Unit
    Definition Classes
    Task
  72. def setToolflags(input: String): Unit

    Sets flags to be passed to the tool.

  73. object Platforms extends PermissibleValue

    Defines valid values for the platforms property.