trait IncrementalCompiler extends AnyRef
- Alphabetic
- By Inheritance
- IncrementalCompiler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
compile(scalaCompiler: ScalaCompiler, javaCompiler: JavaCompiler, sources: Array[Path], classpath: Array[Path], output: Output, earlyOutput: Optional[Output], earlyAnalysisStore: Optional[AnalysisStore], globalsCache: GlobalsCache, scalacOptions: Array[String], javacOptions: Array[String], previousAnalysis: Optional[CompileAnalysis], previousSetup: Optional[MiniSetup], perClasspathEntryLookup: PerClasspathEntryLookup, reporter: Reporter, compileOrder: CompileOrder, skip: Boolean, progress: Optional[CompileProgress], incrementalOptions: IncOptions, temporaryClassesDirectory: Optional[Path], extra: Array[T2[String, String]], converter: FileConverter, stamper: ReadStamps, logger: Logger): CompileResult
Performs an incremental compilation given its configuration.
Performs an incremental compilation given its configuration.
- scalaCompiler
The Scala compiler to compile Scala sources.
- javaCompiler
The Java compiler to compile Java sources.
- sources
An array of Java and Scala source files to be compiled.
- classpath
An array of files representing classpath entries.
- output
An instance of
Output
to store the compiler outputs.- globalsCache
Directory where previous cached compilers are stored.
- scalacOptions
An array of options/settings for the Scala compiler.
- javacOptions
An array of options for the Java compiler.
- previousAnalysis
Optional previous incremental compilation analysis.
- previousSetup
Optional previous incremental compilation setup.
- perClasspathEntryLookup
Lookup of data structures and operations for a given classpath entry.
- reporter
An instance of
Reporter
to report compiler output.- compileOrder
The order in which Java and Scala sources should be compiled.
- skip
Flag to ignore this compilation run and return previous one.
- progress
An instance of
CompileProgress
to keep track of the current compilation progress.- incrementalOptions
An Instance of
IncOptions
that configures the incremental compiler behaviour.- temporaryClassesDirectory
A directory where incremental compiler can put temporary class files or jars.
- extra
An array of sbt tuples with extra options.
- converter
FileConverter to convert between Path and VirtualFileRef.
- stamper
Stamper creates timestamp or hash.
- logger
An instance of
Logger
that logs Zinc output.- returns
An instance of
CompileResult
that holds information about the results of the compilation.
-
abstract
def
compile(scalaCompiler: ScalaCompiler, javaCompiler: JavaCompiler, sources: Array[VirtualFile], classpath: Array[VirtualFile], output: Output, earlyOutput: Optional[Output], earlyAnalysisStore: Optional[AnalysisStore], globalsCache: GlobalsCache, scalacOptions: Array[String], javacOptions: Array[String], previousAnalysis: Optional[CompileAnalysis], previousSetup: Optional[MiniSetup], perClasspathEntryLookup: PerClasspathEntryLookup, reporter: Reporter, compileOrder: CompileOrder, skip: Boolean, progress: Optional[CompileProgress], incrementalOptions: IncOptions, temporaryClassesDirectory: Optional[Path], extra: Array[T2[String, String]], converter: FileConverter, stamper: ReadStamps, logger: Logger): CompileResult
Performs an incremental compilation given its configuration.
Performs an incremental compilation given its configuration.
- scalaCompiler
The Scala compiler to compile Scala sources.
- javaCompiler
The Java compiler to compile Java sources.
- sources
An array of Java and Scala source files to be compiled.
- classpath
An array of files representing classpath entries.
- output
An instance of
Output
to store the compiler outputs.- globalsCache
Directory where previous cached compilers are stored.
- scalacOptions
An array of options/settings for the Scala compiler.
- javacOptions
An array of options for the Java compiler.
- previousAnalysis
Optional previous incremental compilation analysis.
- previousSetup
Optional previous incremental compilation setup.
- perClasspathEntryLookup
Lookup of data structures and operations for a given classpath entry.
- reporter
An instance of
Reporter
to report compiler output.- compileOrder
The order in which Java and Scala sources should be compiled.
- skip
Flag to ignore this compilation run and return previous one.
- progress
An instance of
CompileProgress
to keep track of the current compilation progress.- incrementalOptions
An Instance of
IncOptions
that configures the incremental compiler behaviour.- temporaryClassesDirectory
A directory where incremental compiler can put temporary class files or jars.
- extra
An array of sbt tuples with extra options.
- converter
FileConverter to convert between Path and VirtualFileRef.
- stamper
Stamper creates timestamp or hash.
- logger
An instance of
Logger
that logs Zinc output.- returns
An instance of
CompileResult
that holds information about the results of the compilation.
-
abstract
def
compile(inputs: Inputs, logger: Logger): CompileResult
Performs an incremental compilation given an instance of
Inputs
.Performs an incremental compilation given an instance of
Inputs
.- inputs
An instance of
Inputs
that collect all the inputs required to run the compiler (from sources and classpath, to compilation order, previous results, current setup, etc).- logger
An instance of
Logger
that logs Zinc output.- returns
An instance of
CompileResult
that holds information about the results of the compilation.
-
abstract
def
compileAllJava(inputs: Inputs, logger: Logger): CompileResult
Compile all Java sources based on xsbti.compile.Inputs.
Compile all Java sources based on xsbti.compile.Inputs. Currently this step is necessary to perform pipeline builds.
- inputs
An instance of
Inputs
that collect all the inputs required to run the compiler (from sources and classpath, to compilation order, previous results, current setup, etc).- logger
An instance of
Logger
that logs Zinc output.- returns
An instance of
CompileResult
that holds information about the results of the compilation.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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( ... ) @native()