Defines valid values for properties that refer to compiler phases.
Defines valid values for the deprecation
and unchecked
properties.
Defines valid values for the logging property.
Defines valid values for the target
property.
Instruct the compiler to use additional parameters
Instruct the compiler to use additional parameters
Transforms a file into a Scalac-readable string.
Transforms a file into a Scalac-readable string.
A file to convert.
A string-representation of the file like /x/k/a.scala
.
Transforms a path into a Scalac-readable string.
Transforms a path into a Scalac-readable string.
A path to convert.
A string-representation of the path like a.jar:b.jar
.
The boot class path to use for this compilation.
The boot class path to use for this compilation.
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.
The class path to use for this compilation.
The class path to use for this compilation.
The path to use when finding scalac - *only used for forking!*
The path to use when finding scalac - *only used for forking!*
Sets the bootclasspath
as a nested bootclasspath Ant parameter.
Sets the bootclasspath
as a nested bootclasspath Ant parameter.
A source path to be configured.
Sets the classpath
as a nested classpath Ant parameter.
Sets the classpath
as a nested classpath Ant parameter.
A class path to be configured.
Sets the compilerarg
as a nested compilerarg Ant parameter.
Sets the compilerarg
as a nested compilerarg Ant parameter.
A compiler argument to be configured.
Sets the extdirs
as a nested extdirs Ant parameter.
Sets the extdirs
as a nested extdirs Ant parameter.
An extensions path to be configured.
Sets the sourcepath
as a nested sourcepath Ant parameter.
Sets the sourcepath
as a nested sourcepath Ant parameter.
A source path to be configured.
Sets the origin
as a nested src Ant parameter.
Sets the origin
as a nested src Ant parameter.
An origin path to be configured.
Instruct the compiler to generate debugging information
Instruct the compiler to generate debugging information
The dependency tracking file.
The dependency tracking file.
Instruct the compiler to generate deprecation information.
Instruct the compiler to generate deprecation information.
The directory to put the compiled files in.
The directory to put the compiled files in.
The character encoding of the files to compile.
The character encoding of the files to compile.
Performs the compilation.
Performs the compilation.
Performs the compilation.
Performs the compilation.
Tests if a file exists and prints a warning in case it doesn't.
Tests if a file exists and prints a warning in case it doesn't. Always returns the file, even if it doesn't exist.
A file to test for existance.
The same file.
Instruct the compiler to explain type errors in more detail.
Instruct the compiler to explain type errors in more detail.
The external extensions path to use for this compilation.
The external extensions path to use for this compilation.
Indicates whether compilation errors will fail the build; defaults to true.
Indicates whether compilation errors will fail the build; defaults to true.
Whether to force compilation of all files or not.
Whether to force compilation of all files or not.
Whether to fork the execution of scalac
Whether to fork the execution of scalac
Gets the value of the bootclasspath
attribute in a
Scala-friendly form.
Gets the value of the bootclasspath
attribute in a
Scala-friendly form.
The boot class path as a list of files.
Gets the value of the classpath
attribute in a
Scala-friendly form.
Gets the value of the classpath
attribute in a
Scala-friendly form.
The class path as a list of files.
Gets the value of the destination
attribute in a
Scala-friendly form.
Gets the value of the destination
attribute in a
Scala-friendly form.
The destination as a file.
Gets the value of the extdirs
attribute in a
Scala-friendly form.
Gets the value of the extdirs
attribute in a
Scala-friendly form.
The extensions path as a list of files.
Gets the value of the origin
attribute in a
Scala-friendly form.
Gets the value of the origin
attribute in a
Scala-friendly form.
The origin path as a list of files.
Gets the value of the sourcepath
attribute in a
Scala-friendly form.
Gets the value of the sourcepath
attribute in a
Scala-friendly form.
The source path as a list of files.
Initializes settings and source files
Initializes settings and source files
If forking, these are the arguments to the JVM
If forking, these are the arguments to the JVM
Which compilation phases should be logged during compilation.
Which compilation phases should be logged during compilation.
How much logging output to print.
How much logging output to print. Either none (default), verbose or debug.
Transforms a string name into a file relative to the build root directory.
Transforms a string name into a file relative to the build root directory.
A relative or absolute path to the file as a string.
A file created from the name.
Transforms a string name into a file relative to the provided base directory.
Transforms a string name into a file relative to the provided base directory.
A file pointing to the location relative to which the name will be resolved.
A relative or absolute path to the file as a string.
A file created from the name and the base file.
Instruct the compiler to not use the boot classpath for the scala jars.
Instruct the compiler to not use the boot classpath for the scala jars.
Instruct the compiler to generate no warnings.
Instruct the compiler to generate no warnings.
Instruct the compiler to run optimizations.
Instruct the compiler to run optimizations.
The directories that contain source files to compile.
The directories that contain source files to compile.
Encapsulates implementation of specific command line arguments.
Encapsulates implementation of specific command line arguments.
Prints out the files being compiled by the scalac ant task (not only the number of files).
Prints out the files being compiled by the scalac ant task (not only the number of files).
Set the addparams
info attribute.
Sets the argfile
attribute.
Sets the boot classpath attribute.
Sets the bootclasspath
as an external reference Ant
parameter.
Sets the bootclasspath
as an external reference Ant
parameter.
A reference to a source path.
Sets the classpath
attribute.
Sets the classpath
as an external reference Ant parameter.
Sets the classpath
as an external reference Ant parameter.
A reference to a class path.
Sets the compilerPath
attribute.
Sets the compilerpathref
attribute.
Set the debug
info attribute.
Sets the dependencyfile
attribute.
Set the deprecation
info attribute.
Sets the destdir
attribute.
Sets the encoding
attribute.
Set the explaintypes
info attribute.
Set the explaintypes
info attribute.
One of the flags yes/no
or on/off
.
Sets the external extensions path attribute.
Sets the extdirs
as an external reference Ant parameter.
Sets the extdirs
as an external reference Ant parameter.
A reference to an extensions path.
Sets the failonerror
attribute.
Sets the force
attribute.
Sets the fork
attribute.
Sets the ipv4
attribute.
Sets the ipv4
attribute. Used by Ant.
The value for ipv4
.
Sets the jvmargs
attribute.
Sets the logphase
attribute.
Sets the logging level attribute.
Sets the maxIdle
attribute.
Sets the maxIdle
attribute. Used by Ant.
The value for maxIdle
.
Set the nobootcp
info attribute.
Set the nowarn
info attribute.
Set the optimise
info attribute.
Sets the reset
attribute.
Sets the reset
attribute. Used by Ant.
The value for reset
.
Set the scalacdebugging
info attribute.
Set the scalacdebugging
info attribute. If set to
true
, the scalac ant task will print out the filenames
being compiled.
The specified flag
Sets the server
attribute.
Sets the server
attribute. Used by Ant.
The value for server
.
Sets the shutdown
attribute.
Sets the shutdown
attribute. Used by Ant.
The value for shutdown
.
Sets the sourcepath
attribute.
Sets the sourcepath
as an external reference Ant parameter.
Sets the sourcepath
as an external reference Ant parameter.
A reference to a source path.
Sets the srcdir
attribute.
Sets the origin
as an external reference Ant parameter.
Sets the origin
as an external reference Ant parameter.
A reference to an origin path.
Sets the target
attribute.
Set the unchecked
info attribute.
Set the usejavacp
info attribute.
The source path to use for this compilation.
The source path to use for this compilation.
Instruct the compiler to generate unchecked information.
Instruct the compiler to generate unchecked information.
Instruct the compiler to use java.class.path
in classpath resolution.
Instruct the compiler to use java.class.path
in classpath resolution.
An Ant task to compile with the fast Scala compiler (
fsc
).In addition to the attributes shared with the
Scalac
task, this task also accepts the following attributes:reset
server
shutdown
ipv4
maxIdle