Defines valid values for the platforms property.
Generates a build error.
Generates a build error. Error location will be the current task in the ant file.
A message describing the error.
A build error exception thrown in every case.
A special method that allows ant classpath path definitions to be nested within this ant task.
Performs the tool creation.
Performs the tool creation.
Sets the main class attribute.
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 independant way (e.g.
@SCALA_HOME@
) and automatically translated for you.
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.
Sets the file attribute.
Sets flags to be passed to the Java interpreter.
Sets the platforms attribute.
Sets JVM properties that will be set whilst running the tool.
Sets flags to be passed to the tool.
(scalaTool: StringAdd).self
(scalaTool: StringFormat).self
(scalaTool: ArrowAssoc[ScalaTool]).x
(Since version 2.10.0) Use leftOfArrow
instead
(scalaTool: Ensuring[ScalaTool]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
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
.1.1