class Scalac extends ScalaMatchingTask with ScalacShared
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
,
It also takes the following parameters as nested elements:
src
(forsrcdir
),classpath
,sourcepath
,bootclasspath
,extdirs
,compilerarg
.
- Source
- Scalac.scala
- Alphabetic
- By Inheritance
- Scalac
- ScalacShared
- 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 Scalac()
Type Members
- abstract class PermissibleValue extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
Test two objects for inequality.
Test two objects for inequality.
- returns
true
if !(this == that), false otherwise.
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
Equivalent to
x.hashCode
except for boxed numeric types andnull
.Equivalent to
x.hashCode
except for boxed numeric types andnull
. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. Fornull
returns a hashcode wherenull.hashCode
throws aNullPointerException
.- returns
a hash value consistent with ==
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Scalac, B)
-
final
def
==(arg0: Any): Boolean
The expression
x == that
is equivalent toif (x eq null) that eq null else x.equals(that)
.The expression
x == that
is equivalent toif (x eq null) that eq null else x.equals(that)
.- returns
true
if the receiver object is equivalent to the argument;false
otherwise.
- Definition Classes
- AnyRef → Any
-
val
MainClass: String
- Definition Classes
- ScalacShared
-
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
-
var
addParams: String
Instruct the compiler to use additional parameters
Instruct the compiler to use additional parameters
- Attributes
- protected
-
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
-
var
argfile: Option[File]
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
Cast the receiver object to be of type
T0
.Cast the receiver object to be of type
T0
.Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression
1.asInstanceOf[String]
will throw aClassCastException
at runtime, while the expressionList(1).asInstanceOf[List[String]]
will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.- returns
the receiver object.
- Definition Classes
- Any
- Exceptions thrown
ClassCastException
if the receiver object is not an instance of the erasure of typeT0
.
-
def
asString(file: File): String
Transforms a file into a Scalac-readable string.
Transforms a file into a Scalac-readable string.
- file
A file to convert.
- returns
A string-representation of the file like
/x/k/a.scala
.
- Attributes
- protected
-
def
asString(path: List[File]): String
Transforms a path into a Scalac-readable string.
Transforms a path into a Scalac-readable string.
- path
A path to convert.
- returns
A string-representation of the path like
a.jar:b.jar
.
- Attributes
- protected
-
var
backend: Option[String]
- Attributes
- protected
-
final
def
bindToOwner(arg0: Task): Unit
- Definition Classes
- Task
-
var
bootclasspath: Option[Path]
The boot class path to use for this compilation.
The boot class path to use for this compilation.
- Attributes
- protected
-
def
buildError(message: String): Nothing
Generates a build error.
Generates a build error. Error location will be the current task in the ant file.
- message
A message describing the error.
- Attributes
- protected
- Definition Classes
- ScalaTask
- Exceptions thrown
BuildException
A build error exception thrown in every case.
-
var
classpath: Option[Path]
The class path to use for this compilation.
The class path to use for this compilation.
- Attributes
- protected
-
def
clone(): AnyRef
Create a copy of the receiver object.
Create a copy of the receiver object.
The default implementation of the
clone
method is platform dependent.- returns
a copy of the receiver object.
- Definition Classes
- ProjectComponent → AnyRef
- Annotations
- @throws( ... )
- Note
not specified by SLS as a member of AnyRef
-
var
compilerPath: Option[Path]
The path to use when finding scalac - *only used for forking!*
The path to use when finding scalac - *only used for forking!*
- Attributes
- protected
-
def
createBootclasspath(): Path
Sets the
bootclasspath
as a nested bootclasspath Ant parameter.Sets the
bootclasspath
as a nested bootclasspath Ant parameter.- returns
A source path to be configured.
-
def
createClasspath(): Path
Sets the
classpath
as a nested classpath Ant parameter.Sets the
classpath
as a nested classpath Ant parameter.- returns
A class path to be configured.
-
def
createCompilerArg(): ImplementationSpecificArgument
Sets the
compilerarg
as a nested compilerarg Ant parameter.Sets the
compilerarg
as a nested compilerarg Ant parameter.- returns
A compiler argument to be configured.
- def createCompilerPath: Path
-
def
createExclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createExcludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createExtdirs(): Path
Sets the
extdirs
as a nested extdirs Ant parameter.Sets the
extdirs
as a nested extdirs Ant parameter.- returns
An extensions path to be configured.
-
def
createInclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createIncludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createPatternSet(): PatternSet
- Definition Classes
- MatchingTask
-
def
createSourcepath(): Path
Sets the
sourcepath
as a nested sourcepath Ant parameter.Sets the
sourcepath
as a nested sourcepath Ant parameter.- returns
A source path to be configured.
-
def
createSrc(): Path
Sets the
origin
as a nested src Ant parameter.Sets the
origin
as a nested src Ant parameter.- returns
An origin path to be configured.
-
var
debugInfo: Option[String]
Instruct the compiler to generate debugging information
Instruct the compiler to generate debugging information
- Attributes
- protected
-
var
dependencyfile: Option[File]
The dependency tracking file.
The dependency tracking file.
- Attributes
- protected
-
var
deprecation: Option[Boolean]
Instruct the compiler to generate deprecation information.
Instruct the compiler to generate deprecation information.
- Attributes
- protected
-
var
destination: Option[File]
The directory to put the compiled files in.
The directory to put the compiled files in.
- Attributes
- protected
-
var
encoding: Option[String]
The character encoding of the files to compile.
The character encoding of the files to compile.
- Attributes
- protected
- def ensuring(cond: (Scalac) ⇒ Boolean, msg: ⇒ Any): Scalac
- def ensuring(cond: (Scalac) ⇒ Boolean): Scalac
- def ensuring(cond: Boolean, msg: ⇒ Any): Scalac
- def ensuring(cond: Boolean): Scalac
-
final
def
eq(arg0: AnyRef): Boolean
Tests whether the argument (
that
) is a reference to the receiver object (this
).Tests whether the argument (
that
) is a reference to the receiver object (this
).The
eq
method implements an equivalence relation on non-null instances ofAnyRef
, and has three additional properties:- It is consistent: for any non-null instances
x
andy
of typeAnyRef
, multiple invocations ofx.eq(y)
consistently returnstrue
or consistently returnsfalse
. - For any non-null instance
x
of typeAnyRef
,x.eq(null)
andnull.eq(x)
returnsfalse
. null.eq(null)
returnstrue
.
When overriding the
equals
orhashCode
methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2
), they should be equal to each other (o1 == o2
) and they should hash to the same value (o1.hashCode == o2.hashCode
).- returns
true
if the argument is a reference to the receiver object;false
otherwise.
- Definition Classes
- AnyRef
- It is consistent: for any non-null instances
-
def
equals(arg0: Any): Boolean
The equality method for reference types.
-
def
execWithArgFiles(java: Java, paths: List[String]): Int
- Definition Classes
- ScalacShared
-
def
execute(): Unit
- Definition Classes
- Scalac → Task
-
def
executeFork(settings: Settings, sourceFiles: List[File]): Unit
- Attributes
- protected
-
def
executeInternal(settings: Settings, sourceFiles: List[File]): Unit
Performs the compilation.
Performs the compilation.
- Attributes
- protected
-
def
existing(file: File): File
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.
- file
A file to test for existence.
- returns
The same file.
- Attributes
- protected
-
var
explaintypes: Option[Boolean]
Instruct the compiler to explain type errors in more detail.
Instruct the compiler to explain type errors in more detail.
- Attributes
- protected
-
var
extdirs: Option[Path]
The external extensions path to use for this compilation.
The external extensions path to use for this compilation.
- Attributes
- protected
-
var
failonerror: Boolean
Indicates whether compilation errors will fail the build; defaults to true.
Indicates whether compilation errors will fail the build; defaults to true.
- Attributes
- protected
-
def
finalize(): Unit
Called by the garbage collector on the receiver object when there are no more references to the object.
Called by the garbage collector on the receiver object when there are no more references to the object.
The details of when and if the
finalize
method is invoked, as well as the interaction betweenfinalize
and non-local returns and exceptions, are all platform dependent.- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- Note
not specified by SLS as a member of AnyRef
-
var
force: Boolean
Whether to force compilation of all files or not.
Whether to force compilation of all files or not.
- Attributes
- protected
-
var
fork: Boolean
Whether to fork the execution of scalac
Whether to fork the execution of scalac
- Attributes
- protected
- def formatted(fmtstr: String): String
-
def
getBootclasspath: List[File]
Gets the value of the
bootclasspath
attribute in a Scala-friendly form.Gets the value of the
bootclasspath
attribute in a Scala-friendly form.- returns
The boot class path as a list of files.
- Attributes
- protected
-
final
def
getClass(): Class[_]
Returns the runtime class representation of the object.
Returns the runtime class representation of the object.
- returns
a class object corresponding to the runtime type of the receiver.
- Definition Classes
- AnyRef → Any
-
def
getClasspath: List[File]
Gets the value of the
classpath
attribute in a Scala-friendly form.Gets the value of the
classpath
attribute in a Scala-friendly form.- returns
The class path as a list of files.
- Attributes
- protected
-
def
getDescription(): String
- Definition Classes
- ProjectComponent
-
def
getDestination: File
Gets the value of the
destination
attribute in a Scala-friendly form.Gets the value of the
destination
attribute in a Scala-friendly form.- returns
The destination as a file.
- Attributes
- protected
-
def
getDirectoryScanner(arg0: File): DirectoryScanner
- Attributes
- protected[org.apache.tools.ant.taskdefs]
- Definition Classes
- MatchingTask
-
def
getExtdirs: List[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.- returns
The extensions path as a list of files.
- Attributes
- protected
-
final
def
getImplicitFileSet(): FileSet
- Attributes
- protected[org.apache.tools.ant.taskdefs]
- Definition Classes
- MatchingTask
-
def
getLocation(): Location
- Definition Classes
- ProjectComponent
-
def
getOrigin: List[File]
Gets the value of the
origin
attribute in a Scala-friendly form.Gets the value of the
origin
attribute in a Scala-friendly form.- returns
The origin path as a list of files.
- Attributes
- protected
-
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
getSourcepath: List[File]
Gets the value of the
sourcepath
attribute in a Scala-friendly form.Gets the value of the
sourcepath
attribute in a Scala-friendly form.- returns
The source path as a list of files.
- Attributes
- protected
-
def
getTaskName(): String
- Definition Classes
- Task
-
def
getTaskType(): String
- Definition Classes
- Task
-
def
getWrapper(): RuntimeConfigurable
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleErrorFlush(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleErrorOutput(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleFlush(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleInput(arg0: Array[Byte], arg1: Int, arg2: Int): Int
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
handleOutput(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
hasSelectors(): Boolean
- Definition Classes
- MatchingTask → SelectorContainer
-
def
hashCode(): Int
The hashCode method for reference types.
-
def
init(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
def
initialize: (Settings, List[File], Boolean)
Initializes settings and source files
Initializes settings and source files
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
Test whether the dynamic type of the receiver object is
T0
.Test whether the dynamic type of the receiver object is
T0
.Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression
1.isInstanceOf[String]
will returnfalse
, while the expressionList(1).isInstanceOf[List[String]]
will returntrue
. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.- returns
true
if the receiver object is an instance of erasure of typeT0
;false
otherwise.
- Definition Classes
- Any
-
final
def
isInvalid(): Boolean
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
var
jvmArgs: Option[String]
If forking, these are the arguments to the JVM
If forking, these are the arguments to the JVM
- Attributes
- protected
-
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
-
var
logPhase: List[String]
Which compilation phases should be logged during compilation.
Which compilation phases should be logged during compilation.
- Attributes
- protected
-
var
logging: Option[String]
How much logging output to print.
How much logging output to print. Either none (default), verbose or debug.
- Attributes
- protected
-
def
maybeConfigure(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
def
nameToFile(name: String): File
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.
- name
A relative or absolute path to the file as a string.
- returns
A file created from the name.
- Attributes
- protected
-
def
nameToFile(base: File)(name: String): File
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.
- base
A file pointing to the location relative to which the name will be resolved.
- name
A relative or absolute path to the file as a string.
- returns
A file created from the name and the base file.
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
Equivalent to
!(this eq that)
.Equivalent to
!(this eq that)
.- returns
true
if the argument is not a reference to the receiver object;false
otherwise.
- Definition Classes
- AnyRef
-
def
newGlobal(settings: Settings, reporter: Reporter): Global
- Attributes
- protected
-
def
newSettings(error: (String) ⇒ Unit): Settings
- Attributes
- protected
-
var
nobootcp: Option[Boolean]
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.
- Attributes
- protected
-
final
def
notify(): Unit
Wakes up a single thread that is waiting on the receiver object's monitor.
Wakes up a single thread that is waiting on the receiver object's monitor.
- Definition Classes
- AnyRef
- Note
not specified by SLS as a member of AnyRef
-
final
def
notifyAll(): Unit
Wakes up all threads that are waiting on the receiver object's monitor.
Wakes up all threads that are waiting on the receiver object's monitor.
- Definition Classes
- AnyRef
- Note
not specified by SLS as a member of AnyRef
-
var
nowarn: Option[Boolean]
Instruct the compiler to generate no warnings.
Instruct the compiler to generate no warnings.
- Attributes
- protected
-
var
optimise: Option[Boolean]
Instruct the compiler to run optimizations.
Instruct the compiler to run optimizations.
- Attributes
- protected
-
var
origin: Option[Path]
The directories that contain source files to compile.
The directories that contain source files to compile.
- Attributes
- protected
-
final
def
perform(): Unit
- Definition Classes
- Task
-
def
reconfigure(): Unit
- Definition Classes
- Task
-
var
scalacCompilerArgs: FacadeTaskHelper
Encapsulates implementation of specific command line arguments.
Encapsulates implementation of specific command line arguments.
- Attributes
- protected
-
var
scalacDebugging: Boolean
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).
- Attributes
- protected
-
def
selectorCount(): Int
- Definition Classes
- MatchingTask → SelectorContainer
-
def
selectorElements(): java.util.Enumeration[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
setAddparams(input: String): Unit
Set the
addparams
info attribute.Set the
addparams
info attribute.- input
The value for
addparams
.
-
def
setArgfile(input: File): Unit
Sets the
argfile
attribute.Sets the
argfile
attribute. Used by Ant.- input
The value of
argfile
.
-
def
setBootclasspath(input: Path): Unit
Sets the boot classpath attribute.
Sets the boot classpath attribute. Used by Ant.
- input
The value of
bootclasspath
.
-
def
setBootclasspathref(input: Reference): Unit
Sets the
bootclasspath
as an external reference Ant parameter.Sets the
bootclasspath
as an external reference Ant parameter.- input
A reference to a source path.
-
def
setCaseSensitive(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setClasspath(input: Path): Unit
Sets the
classpath
attribute.Sets the
classpath
attribute. Used by Ant.- input
The value of
classpath
.
-
def
setClasspathref(input: Reference): Unit
Sets the
classpath
as an external reference Ant parameter.Sets the
classpath
as an external reference Ant parameter.- input
A reference to a class path.
-
def
setCompilerPath(input: Path): Unit
Sets the
compilerPath
attribute.Sets the
compilerPath
attribute. Used by Ant.- input
The value of
compilerPath
.
-
def
setCompilerPathRef(input: Reference): Unit
Sets the
compilerpathref
attribute.Sets the
compilerpathref
attribute. Used by Ant.- input
The value of
compilerpathref
.
-
def
setDebuginfo(input: String): Unit
Set the
debug
info attribute.Set the
debug
info attribute.- input
The value for
debug
.
-
def
setDefaultexcludes(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setDependencyfile(input: File): Unit
Sets the
dependencyfile
attribute.Sets the
dependencyfile
attribute. Used by Ant.- input
The value of
dependencyfile
.
-
def
setDeprecation(input: String): Unit
Set the
deprecation
info attribute.Set the
deprecation
info attribute.- input
One of the flags
yes/no
oron/off
.
-
def
setDescription(arg0: String): Unit
- Definition Classes
- ProjectComponent
-
def
setDestdir(input: File): Unit
Sets the
destdir
attribute.Sets the
destdir
attribute. Used by Ant.- input
The value of
destination
.
-
def
setEncoding(input: String): Unit
Sets the
encoding
attribute.Sets the
encoding
attribute. Used by Ant.- input
The value of
encoding
.
-
def
setExcludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setExcludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setExplaintypes(input: String): Unit
Set the
explaintypes
info attribute.Set the
explaintypes
info attribute.- input
One of the flags
yes/no
oron/off
.
-
def
setExtdirs(input: Path): Unit
Sets the external extensions path attribute.
Sets the external extensions path attribute. Used by Ant.
- input
The value of
extdirs
.
-
def
setExtdirsref(input: Reference): Unit
Sets the
extdirs
as an external reference Ant parameter.Sets the
extdirs
as an external reference Ant parameter.- input
A reference to an extensions path.
-
def
setFailonerror(input: Boolean): Unit
Sets the
failonerror
attribute.Sets the
failonerror
attribute. Used by Ant.- input
The value for
failonerror
.
-
def
setFollowSymlinks(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setForce(input: Boolean): Unit
Sets the
force
attribute.Sets the
force
attribute. Used by Ant.- input
The value for
force
.
-
def
setFork(input: Boolean): Unit
Sets the
fork
attribute.Sets the
fork
attribute. Used by Ant.- input
The value for
fork
.
-
def
setIncludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setIncludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setJvmargs(input: String): Unit
Sets the
jvmargs
attribute.Sets the
jvmargs
attribute. Used by Ant.- input
The value for
jvmargs
-
def
setLocation(arg0: Location): Unit
- Definition Classes
- ProjectComponent
-
def
setLogPhase(input: String): Unit
Sets the
logphase
attribute.Sets the
logphase
attribute. Used by Ant.- input
The value for
logPhase
.
-
def
setLogging(input: String): Unit
Sets the logging level attribute.
Sets the logging level attribute. Used by Ant.
- input
The value for
logging
.
-
def
setNobootcp(input: String): Unit
Set the
nobootcp
info attribute.Set the
nobootcp
info attribute.- input
One of the flags
yes/no
oron/off
.
-
def
setNowarn(input: String): Unit
Set the
nowarn
info attribute.Set the
nowarn
info attribute.- input
One of the flags
yes/no
oron/off
.
-
def
setOptimise(input: String): Unit
Set the
optimise
info attribute.Set the
optimise
info attribute.- input
One of the flags
yes/no
oron/off
.
-
def
setOwningTarget(arg0: Target): Unit
- Definition Classes
- Task
-
def
setProject(arg0: Project): Unit
- Definition Classes
- MatchingTask → ProjectComponent
-
def
setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
- Definition Classes
- Task
-
def
setScalacdebugging(input: Boolean): Unit
Set the
scalacdebugging
info attribute.Set the
scalacdebugging
info attribute. If set totrue
, the scalac ant task will print out the filenames being compiled.- input
The specified flag
-
def
setSourcepath(input: Path): Unit
Sets the
sourcepath
attribute.Sets the
sourcepath
attribute. Used by Ant.- input
The value of
sourcepath
.
-
def
setSourcepathref(input: Reference): Unit
Sets the
sourcepath
as an external reference Ant parameter.Sets the
sourcepath
as an external reference Ant parameter.- input
A reference to a source path.
-
def
setSrcdir(input: Path): Unit
Sets the
srcdir
attribute.Sets the
srcdir
attribute. Used by Ant.- input
The value of
origin
.
-
def
setSrcref(input: Reference): Unit
Sets the
origin
as an external reference Ant parameter.Sets the
origin
as an external reference Ant parameter.- input
A reference to an origin path.
-
def
setTarget(input: String): Unit
Sets the
target
attribute.Sets the
target
attribute. Used by Ant.- input
The value for
target
.
-
def
setTaskName(arg0: String): Unit
- Definition Classes
- Task
-
def
setTaskType(arg0: String): Unit
- Definition Classes
- Task
-
def
setUnchecked(input: String): Unit
Set the
unchecked
info attribute.Set the
unchecked
info attribute.- input
One of the flags
yes/no
oron/off
.
-
def
setUsejavacp(input: String): Unit
Set the
usejavacp
info attribute.Set the
usejavacp
info attribute.- input
One of the flags
yes/no
oron/off
.
-
var
sourcepath: Option[Path]
The source path to use for this compilation.
The source path to use for this compilation.
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Creates a String representation of this object.
Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.
- returns
a String representation of the object.
- Definition Classes
- AnyRef → Any
-
var
unchecked: Option[Boolean]
Instruct the compiler to generate unchecked information.
Instruct the compiler to generate unchecked information.
- Attributes
- protected
-
var
usejavacp: Option[Boolean]
Instruct the compiler to use
java.class.path
in classpath resolution.Instruct the compiler to use
java.class.path
in classpath resolution.- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Scalac, B)
-
object
CompilerPhase
extends PermissibleValue
Defines valid values for properties that refer to compiler phases.
-
object
Flag
extends PermissibleValue
Defines valid values for the
deprecation
andunchecked
properties. -
object
LoggingLevel
extends PermissibleValue
Defines valid values for the logging property.
-
object
Target
extends PermissibleValue
Defines valid values for the
target
property.
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: