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
- Alphabetic
- By Inheritance
- ScalaTool
- ScalaMatchingTask
- ScalaTask
- MatchingTask
- SelectorContainer
- Task
- ProjectComponent
- Cloneable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScalaTool()
Type Members
- abstract class PermissibleValue extends AnyRef
Value Members
-
def
XsetIgnore(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
XsetItems(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
add(arg0: FileSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addAnd(arg0: AndSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addContains(arg0: ContainsSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addContainsRegexp(arg0: ContainsRegexpSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addCustom(arg0: ExtendSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDate(arg0: DateSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDepend(arg0: DependSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDepth(arg0: DepthSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDifferent(arg0: DifferentSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addFilename(arg0: FilenameSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addMajority(arg0: MajoritySelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addModified(arg0: ModifiedSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addNone(arg0: NoneSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addNot(arg0: NotSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addOr(arg0: OrSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addPresent(arg0: PresentSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addSelector(arg0: SelectSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addSize(arg0: SizeSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addType(arg0: TypeSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
appendSelector(arg0: FileSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
final
def
bindToOwner(arg0: Task): Unit
- Definition Classes
- Task
-
def
clone(): AnyRef
- Definition Classes
- ProjectComponent → AnyRef
- Annotations
- @throws( ... )
-
def
createClassPath: Path
A special method that allows ant classpath path definitions to be nested within this ant task.
-
def
createExclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createExcludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createInclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createIncludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createPatternSet(): PatternSet
- Definition Classes
- MatchingTask
-
def
execute(): Unit
Performs the tool creation.
Performs the tool creation.
- Definition Classes
- ScalaTool → Task
-
def
getDescription(): String
- Definition Classes
- ProjectComponent
-
def
getLocation(): Location
- Definition Classes
- ProjectComponent
-
def
getOwningTarget(): Target
- Definition Classes
- Task
-
def
getProject(): Project
- Definition Classes
- ProjectComponent
-
def
getRuntimeConfigurableWrapper(): RuntimeConfigurable
- Definition Classes
- Task
-
def
getSelectors(arg0: Project): Array[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
getTaskName(): String
- Definition Classes
- Task
-
def
getTaskType(): String
- Definition Classes
- Task
-
def
hasSelectors(): Boolean
- Definition Classes
- MatchingTask → SelectorContainer
-
def
init(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
def
log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
- Definition Classes
- Task
-
def
log(arg0: java.lang.Throwable, arg1: Int): Unit
- Definition Classes
- Task
-
def
log(arg0: String, arg1: Int): Unit
- Definition Classes
- Task → ProjectComponent
-
def
log(arg0: String): Unit
- Definition Classes
- Task → ProjectComponent
-
def
maybeConfigure(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
final
def
perform(): Unit
- Definition Classes
- Task
-
def
reconfigure(): Unit
- Definition Classes
- Task
-
def
selectorCount(): Int
- Definition Classes
- MatchingTask → SelectorContainer
-
def
selectorElements(): java.util.Enumeration[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
setCaseSensitive(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setClass(input: String): Unit
Sets the main class attribute.
-
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. -
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.
-
def
setDefaultexcludes(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setDescription(arg0: String): Unit
- Definition Classes
- ProjectComponent
-
def
setExcludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setExcludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setFile(input: File): Unit
Sets the file attribute.
-
def
setFollowSymlinks(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setIncludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setIncludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setJavaflags(input: String): Unit
Sets flags to be passed to the Java interpreter.
-
def
setLocation(arg0: Location): Unit
- Definition Classes
- ProjectComponent
-
def
setOwningTarget(arg0: Target): Unit
- Definition Classes
- Task
-
def
setPlatforms(input: String): Unit
Sets the platforms attribute.
-
def
setProject(arg0: Project): Unit
- Definition Classes
- MatchingTask → ProjectComponent
-
def
setProperties(input: String): Unit
Sets JVM properties that will be set whilst running the tool.
-
def
setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
- Definition Classes
- Task
-
def
setTaskName(arg0: String): Unit
- Definition Classes
- Task
-
def
setTaskType(arg0: String): Unit
- Definition Classes
- Task
-
def
setToolflags(input: String): Unit
Sets flags to be passed to the tool.
-
object
Platforms extends PermissibleValue
Defines valid values for the platforms property.
The Scala compiler and reflection APIs.