sbt.compiler

IC

object IC extends IncrementalCompiler[Analysis, AnalyzingCompiler]

An implementation of the incremental compiler that can compile inputs and dump out source dependency analysis.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IC
  2. IncrementalCompiler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class Result(analysis: Analysis, setup: CompileSetup, hasModified: Boolean) extends Product with Serializable

    The result of running the compilation.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compile(in: Inputs[Analysis, AnalyzingCompiler], log: xsbti.Logger): Analysis

    Definition Classes
    ICIncrementalCompiler
  9. def compileInterfaceJar(label: String, sourceJar: File, targetJar: File, interfaceJar: File, instance: xsbti.compile.ScalaInstance, log: xsbti.Logger): Unit

    Definition Classes
    ICIncrementalCompiler
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def incrementalCompile(scalac: AnalyzingCompiler, javac: xsbti.compile.JavaCompiler, sources: Seq[File], classpath: Seq[File], output: Output, cache: GlobalsCache, progress: Option[CompileProgress] = None, options: Seq[String] = Nil, javacOptions: Seq[String] = Nil, previousAnalysis: Analysis, previousSetup: Option[CompileSetup], analysisMap: (File) ⇒ Option[Analysis] = _ => None, definesClass: (File) ⇒ (String) ⇒ Boolean = Locate.definesClass, reporter: Reporter, compileOrder: CompileOrder = Mixed, skip: Boolean = false, incrementalCompilerOptions: IncOptions)(implicit log: xsbti.Logger): Result

    This will run a mixed-compilation of Java/Scala sources

    This will run a mixed-compilation of Java/Scala sources

    TODO - this is the interface sbt uses. Somehow this needs to be exposed further.

    scalac

    An instances of the Scalac compiler which can also extract "Analysis" (dependencies)

    javac

    An instance of the Javac compiler.

    sources

    The set of sources to compile

    classpath

    The classpath to use when compiling.

    output

    Configuration for where to output .class files.

    cache

    The caching mechanism to use instead of insantiating new compiler instances.

    progress

    Progress listening for the compilation process. TODO - Feed this through the Javac Compiler!

    options

    Options for the Scala compiler

    javacOptions

    Options for the Java compiler

    previousAnalysis

    The previous dependency Analysis object/

    previousSetup

    The previous compilation setup (if any)

    analysisMap

    A map of file to the dependency analysis of that file.

    definesClass

    A mehcnaism of looking up whether or not a JAR defines a particular Class.

    reporter

    Where we sent all compilation error/warning events

    compileOrder

    The order we'd like to mix compilation. JavaThenScala, ScalaThenJava or Mixed.

    skip

    IF true, we skip compilation and just return the previous analysis file.

    incrementalCompilerOptions

    Options specific to incremental compilation.

    log

    The location where we write log messages.

    returns

    The full configuration used to instantiate this mixed-analyzing compiler, the set of extracted dependencies and whether or not any file were modified.

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def newScalaCompiler(instance: xsbti.compile.ScalaInstance, interfaceJar: File, options: xsbti.compile.ClasspathOptions): AnalyzingCompiler

    Definition Classes
    ICIncrementalCompiler
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def readAnalysis(file: File, incOptions: IncOptions): Analysis

  22. def readCache(file: File): Maybe[(Analysis, CompileSetup)]

  23. def readCacheUncaught(file: File): (Analysis, CompileSetup)

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def newScalaCompiler(instance: xsbti.compile.ScalaInstance, interfaceJar: File, options: xsbti.compile.ClasspathOptions, log: xsbti.Logger): AnalyzingCompiler

    Definition Classes
    ICIncrementalCompiler
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.8) A logger is no longer needed.

  2. def readAnalysis(file: File): Analysis

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Use overloaded variant which takes IncOptions as parameter.

Inherited from AnyRef

Inherited from Any

Ungrouped