Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package typesafe
    Definition Classes
    com
  • package sbt
    Definition Classes
    typesafe
  • package web
    Definition Classes
    sbt
  • package incremental

    The incremental task API lets tasks run more quickly when they are called more than once.

    The incremental task API lets tasks run more quickly when they are called more than once. The idea is to do less work when tasks are called a second time, by skipping any work that has already been done. In other words, tasks only perform the “incremental” work that is necessary since they were last run.

    To analyse which work needs to be done, a task’s work is broken up into a number of sub-operations, each of which can be run independently. Each operation takes input parameters and can read and write files. The incremental task API keeps a record of which operations have been run so that that those operations don’t need to be repeated in the future.

    Here is how tasks interact with the API:

    - Tasks call the API with a list of potential operations to perform and with a function to run operations.

    - The API takes care of pruning the list of operations to find the incremental operations that need to be run.

    - The API then calls the supplied function to run the pruned list of operations. This method returns a list of results, one for each operation.

    - If an operation succeeds, the details are recorded so that the operation can be skipped in the future, if possible.

    Behind the scenes, syncIncremental maintains a record of each operation that succeeds. It uses these records to work out which operations need to be run and which can be skipped.

    Each operation is assumed to take some input parameters, optionally read and write some files, and either succeed or fail when it runs. An operation which fails will always be run again even if its parameters and input files remain the same. But an operation which succeeds will only need to be run again if its input parameters change or if the contents of any files it read from or wrote to have changed.

    Definition Classes
    web
  • package js
    Definition Classes
    web
  • package pipeline
    Definition Classes
    web
  • CompileProblems
  • CompileProblemsException
  • GeneralProblem
  • Import
  • LineBasedProblem
  • LinePosition
  • SbtWeb
c

com.typesafe.sbt.web

CompileProblemsException

class CompileProblemsException extends CompileFailed with sbt.FeedbackProvidedException

Exception thrown by CompileProblems.report if there are any problems to report. This exception contains the problems so they can be used for further processing (e.g. for display by Play).

Linear Supertypes
FeedbackProvidedException, UnprintableException, CompileFailed, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompileProblemsException
  2. FeedbackProvidedException
  3. UnprintableException
  4. CompileFailed
  5. RuntimeException
  6. Exception
  7. Throwable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompileProblemsException(problems: Array[Problem])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  5. val arguments: Array[String]
    Definition Classes
    CompileProblemsException → CompileFailed
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getCause(): Throwable
    Definition Classes
    Throwable
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  15. def getMessage(): String
    Definition Classes
    Throwable
  16. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  17. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  25. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  26. def printStackTrace(): Unit
    Definition Classes
    Throwable
  27. val problems: Array[Problem]
    Definition Classes
    CompileProblemsException → CompileFailed
  28. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from FeedbackProvidedException

Inherited from UnprintableException

Inherited from CompileFailed

Inherited from RuntimeException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped