class ScalacFork extends ScalaMatchingTask with ScalacShared with TaskArgs
An Ant task to compile with the new Scala compiler (NSC).
This task can take the following parameters as attributes:
srcdir
(mandatory),failonerror
,timeout
,jvmargs
,argfile
,params
.
It also takes the following parameters as nested elements:
src
(forsrcdir
),classpath
,sourcepath
,bootclasspath
,extdirs
,compilerarg
.
- Source
- ScalacFork.scala
- Alphabetic
- By Inheritance
- ScalacFork
- TaskArgs
- CompilationPathProperty
- 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 ScalacFork()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ScalacFork to any2stringadd[ScalacFork] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ScalacFork, B)
- Implicit
- This member is added by an implicit conversion from ScalacFork to ArrowAssoc[ScalacFork] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- 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
-
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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bindToOwner(arg0: Task): Unit
- Definition Classes
- Task
-
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.
-
def
clone(): AnyRef
- Definition Classes
- ProjectComponent → AnyRef
- Annotations
- @throws( ... )
-
val
compTarget: Option[String]
- Attributes
- protected
- Definition Classes
- TaskArgs
-
val
compilationPath: Option[Path]
- Attributes
- protected
- Definition Classes
- CompilationPathProperty
-
val
compilerPath: Option[Path]
- Attributes
- protected
- Definition Classes
- TaskArgs
-
def
createCompilationPath: Path
- Definition Classes
- CompilationPathProperty
-
def
createCompilerArg(): Argument
- Definition Classes
- TaskArgs
-
def
createCompilerPath: Path
- Definition Classes
- TaskArgs
-
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
createSrcPath: Path
- Definition Classes
- TaskArgs
-
val
destinationDir: Option[File]
- Attributes
- protected
- Definition Classes
- TaskArgs
-
def
ensuring(cond: (ScalacFork) ⇒ Boolean, msg: ⇒ Any): ScalacFork
- Implicit
- This member is added by an implicit conversion from ScalacFork to Ensuring[ScalacFork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ScalacFork) ⇒ Boolean): ScalacFork
- Implicit
- This member is added by an implicit conversion from ScalacFork to Ensuring[ScalacFork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ScalacFork
- Implicit
- This member is added by an implicit conversion from ScalacFork to Ensuring[ScalacFork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ScalacFork
- Implicit
- This member is added by an implicit conversion from ScalacFork to Ensuring[ScalacFork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execWithArgFiles(java: Java, paths: List[String]): Int
- Definition Classes
- ScalacShared
-
def
execute(): Unit
- Definition Classes
- ScalacFork → Task
-
val
extraArgs: Seq[Argument]
- Attributes
- protected
- Definition Classes
- TaskArgs
-
def
extraArgsFlat: Seq[String]
- Definition Classes
- TaskArgs
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ScalacFork to StringFormat[ScalacFork] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getDescription(): String
- Definition Classes
- ProjectComponent
-
def
getDirectoryScanner(arg0: File): DirectoryScanner
- Attributes
- protected[org.apache.tools.ant.taskdefs]
- Definition Classes
- MatchingTask
-
final
def
getImplicitFileSet(): FileSet
- Attributes
- protected[org.apache.tools.ant.taskdefs]
- Definition Classes
- MatchingTask
-
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
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
- Definition Classes
- AnyRef → Any
-
val
id: Option[String]
- Attributes
- protected
- Definition Classes
- TaskArgs
-
def
init(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isInvalid(): Boolean
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
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
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
setArgfile(input: File): Unit
Sets the
argfile
attribute.Sets the
argfile
attribute. Used by Ant.- input
The value of
argfile
.
-
def
setCaseSensitive(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setCompilationPath(input: Path): Unit
- Definition Classes
- CompilationPathProperty
-
def
setCompilationPathRef(input: Reference): Unit
- Definition Classes
- CompilationPathProperty
-
def
setCompilerPath(input: Path): Unit
- Definition Classes
- TaskArgs
-
def
setCompilerPathRef(input: Reference): Unit
- Definition Classes
- TaskArgs
-
def
setDefaultexcludes(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setDescription(arg0: String): Unit
- Definition Classes
- ProjectComponent
-
def
setDestdir(input: File): Unit
- Definition Classes
- TaskArgs
-
def
setExcludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setExcludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setFailOnError(input: Boolean): Unit
Sets the
failonerror
attribute.Sets the
failonerror
attribute. Used by Ant.- input
The value of
failOnError
.
-
def
setFollowSymlinks(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setId(input: String): Unit
- Definition Classes
- TaskArgs
-
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 of
jvmArgs
.
-
def
setLocation(arg0: Location): Unit
- Definition Classes
- ProjectComponent
-
def
setOwningTarget(arg0: Target): Unit
- Definition Classes
- Task
-
def
setParams(input: String): Unit
- Definition Classes
- TaskArgs
-
def
setProject(arg0: Project): Unit
- Definition Classes
- MatchingTask → ProjectComponent
-
def
setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
- Definition Classes
- Task
-
def
setSrcPath(input: Path): Unit
- Definition Classes
- TaskArgs
-
def
setSrcPathRef(input: Reference): Unit
- Definition Classes
- TaskArgs
-
def
setSrcdir(input: File): Unit
Sets the
srcdir
attribute.Sets the
srcdir
attribute. Used by Ant.- input
The value of
sourceDir
.
-
def
setTarget(input: String): Unit
- Definition Classes
- TaskArgs
-
def
setTaskName(arg0: String): Unit
- Definition Classes
- Task
-
def
setTaskType(arg0: String): Unit
- Definition Classes
- Task
-
def
setTimeout(input: Long): Unit
Sets the
timeout
attribute.Sets the
timeout
attribute. Used by Ant.- input
The value of
timeout
.
-
val
sourcePath: Option[Path]
- Attributes
- protected
- Definition Classes
- TaskArgs
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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): (ScalacFork, B)
- Implicit
- This member is added by an implicit conversion from ScalacFork to ArrowAssoc[ScalacFork] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: