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 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.
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.
Set the addparams info attribute.
The value for addparams.
Sets the argfile attribute.
Sets the argfile attribute. Used by Ant.
The value of argfile.
Sets the boot classpath attribute.
Sets the boot classpath attribute. Used by Ant.
The value of bootclasspath.
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 attribute. Used by Ant.
The value of classpath.
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 compilerPath attribute. Used by Ant.
The value of compilerPath.
Sets the compilerpathref attribute.
Sets the compilerpathref attribute. Used by Ant.
The value of compilerpathref.
Set the debug info attribute.
Set the debug info attribute.
The value for debug.
Sets the dependencyfile attribute.
Sets the dependencyfile attribute. Used by Ant.
The value of dependencyfile.
Set the deprecation info attribute.
Set the deprecation info attribute.
One of the flags yes/no or on/off.
Sets the destdir attribute.
Sets the destdir attribute. Used by Ant.
The value of destination.
Sets the encoding attribute.
Sets the encoding attribute. Used by Ant.
The value of encoding.
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 external extensions path attribute. Used by Ant.
The value of extdirs.
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 failonerror attribute. Used by Ant.
The value for failonerror.
Sets the force attribute.
Sets the force attribute. Used by Ant.
The value for force.
Sets the fork attribute.
Sets the fork attribute. Used by Ant.
The value for fork.
Sets the jvmargs attribute.
Sets the jvmargs attribute. Used by Ant.
The value for jvmargs
Sets the logphase attribute.
Sets the logphase attribute. Used by Ant.
The value for logPhase.
Sets the logging level attribute.
Sets the logging level attribute. Used by Ant.
The value for logging.
Set the nobootcp info attribute.
Set the nobootcp info attribute.
One of the flags yes/no or on/off.
Set the nowarn info attribute.
Set the nowarn info attribute.
One of the flags yes/no or on/off.
Set the optimise info attribute.
Set the optimise info attribute.
One of the flags yes/no or on/off.
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 sourcepath attribute.
Sets the sourcepath attribute. Used by Ant.
The value of sourcepath.
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 srcdir attribute. Used by Ant.
The value of origin.
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.
Sets the target attribute. Used by Ant.
The value for target.
Set the unchecked info attribute.
Set the unchecked info attribute.
One of the flags yes/no or on/off.
Set the usejavacp info attribute.
Set the usejavacp info attribute.
One of the flags yes/no or on/off.
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.
(scalac: StringAdd).self
(scalac: StringFormat).self
(scalac: ArrowAssoc[Scalac]).x
(Since version 2.10.0) Use leftOfArrow instead
(scalac: Ensuring[Scalac]).x
(Since version 2.10.0) Use resultOfEnsuring instead
An Ant task to compile with the new Scala compiler (NSC).
This task can take the following parameters as attributes:
srcdir(mandatory),srcref,destdir,classpath,classpathref,sourcepath,sourcepathref,bootclasspath,bootclasspathref,extdirs,extdirsref,argfile,dependencyfile,encoding,target,force,fork,logging,logphase,debuginfo,addparams,explaintypes,deprecation,nobootcp,nowarn,optimise,unchecked,usejavacp,failonerror,scalacdebugging,assemname,assemrefs.It also takes the following parameters as nested elements:
src(forsrcdir),classpath,sourcepath,bootclasspath,extdirs,compilerarg.