ZincComponentManager

sbt.internal.inc.ZincComponentManager
See theZincComponentManager companion object
class ZincComponentManager(globalLock: GlobalLock, provider: ComponentProvider, secondaryCacheDir: Option[File], log0: Logger)

A component manager provides access to the pieces of zinc that are distributed as components. Compiler bridge is distributed as a source jar so that it can be compiled against a specific version of Scala.

The component manager provides services to install and retrieve components to the local filesystem. This is used for compiled source jars so that the compilation need not be repeated for other projects on the same machine.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def define(id: String, files: Iterable[File]): Unit

Associate a component id to a series of jars.

Associate a component id to a series of jars.

Attributes

def file(id: String)(ifMissing: IfMissing): File

Get the file for component 'id', throwing an exception if no files or multiple files exist for the component.

Get the file for component 'id', throwing an exception if no files or multiple files exist for the component.

Attributes

def files(id: String)(ifMissing: IfMissing): Iterable[File]

Get all of the files for component 'id', throwing an exception if no files exist for the component.

Get all of the files for component 'id', throwing an exception if no files exist for the component.

Attributes

Concrete fields

val log: FullLogger