Incremental
Helper methods for running incremental compilation. This is responsible for is adapting any xsbti.AnalysisCallback into one compatible with the sbt.internal.inc.Incremental class.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Incremental.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompileCycleResult.type
This is a callback from AnalysisCallback back up to Zinc code to perform mid-compilation.
This is a callback from AnalysisCallback back up to Zinc code to perform mid-compilation.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Loggertrait Loggerclass Objecttrait Matchableclass Any
Value members
Concrete methods
Runs the incremental compilation algorithm.
Runs the incremental compilation algorithm.
Value parameters
- compile
-
The mechanism to run a single 'step' of compile, for ALL source files involved.
- converter
-
FileConverter to convert between Path and VirtualFileRef.
- log
-
Where all log messages should go
- lookup
-
An instance of the
Lookup
that implements looking up both classpath elements and Analysis object instances by a binary class name. - options
-
Incremental compiler options (like name hashing vs. not).
- output
-
The configured output directory/directory mapping for source files.
- previous0
-
The previous dependency Analysis (or an empty one).
- sources
-
The full set of input sources
Attributes
- Returns
-
A flag of whether or not compilation completed successfully, and the resulting dependency analysis object.
Compile all Java sources. We are using Incremental class because we still need to perform Analysis so other subprojects can do incremental compilation.
Compile all Java sources. We are using Incremental class because we still need to perform Analysis so other subprojects can do incremental compilation.
Attributes
Compilation unit in each compile cycle.
Compilation unit in each compile cycle.
Attributes
Runs the incremental compiler algorithm.
Runs the incremental compiler algorithm.
Value parameters
- callbackBuilder
-
The builder that builds callback where we report dependency issues.
- compile
-
The function which can run one level of compile.
- converter
-
FileConverter to convert between Path and VirtualFileRef.
- current
-
A mechanism for generating stamps (timestamps, hashes, etc).
- equivS
-
The means of testing whether two "Stamps" are the same.
- log
-
The log where we write debugging information
- lookup
-
An instance of the
Lookup
that implements looking up both classpath elements and Analysis object instances by a binary class name. - options
-
Incremental compilation options
- outputJarContent
-
Object that holds cached content of output jar
- previous0
-
The previous dependency Analysis (or an empty one).
- profiler
-
An implementation of an invalidation profiler, empty by default.
- sources
-
The sources to compile
Attributes
- Returns
-
A flag of whether or not compilation completed successfully, and the resulting dependency analysis object.
Deprecated fields
Attributes
- Deprecated
- true