Class

sbt

ForkOptions

Related Doc: package sbt

Permalink

final case class ForkOptions(javaHome: Option[File] = None, outputStrategy: Option[OutputStrategy] = None, bootJars: Seq[File] = Nil, workingDirectory: Option[File] = None, runJVMOptions: Seq[String] = Nil, connectInput: Boolean = false, envVars: Map[String, String] = Map.empty) extends ForkScalaRun with Product with Serializable

Configures forking.

javaHome

The Java installation to use. If not defined, the Java home for the current process is used.

outputStrategy

Configures the forked standard output and error streams. If not defined, StdoutOutput is used, which maps the forked output to the output of this process and the forked error to the error stream of the forking process.

bootJars

The list of jars to put on the forked boot classpath. By default, this is empty.

workingDirectory

The directory to use as the working directory for the forked process. By default, this is the working directory of the forking process.

runJVMOptions

The options to prepend to all user-specified arguments. By default, this is empty.

connectInput

If true, the standard input of the forked process is connected to the standard input of this process. Otherwise, it is connected to an empty input stream. Connecting input streams can be problematic, especially on versions before Java 7.

envVars

The environment variables to provide to the forked process. By default, none are provided.

Linear Supertypes
Serializable, Serializable, Product, Equals, ForkScalaRun, ForkScala, ForkJava, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForkOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ForkScalaRun
  7. ForkScala
  8. ForkJava
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ForkOptions(javaHome: Option[File] = None, outputStrategy: Option[OutputStrategy] = None, bootJars: Seq[File] = Nil, workingDirectory: Option[File] = None, runJVMOptions: Seq[String] = Nil, connectInput: Boolean = false, envVars: Map[String, String] = Map.empty)

    Permalink

    javaHome

    The Java installation to use. If not defined, the Java home for the current process is used.

    outputStrategy

    Configures the forked standard output and error streams. If not defined, StdoutOutput is used, which maps the forked output to the output of this process and the forked error to the error stream of the forking process.

    bootJars

    The list of jars to put on the forked boot classpath. By default, this is empty.

    workingDirectory

    The directory to use as the working directory for the forked process. By default, this is the working directory of the forking process.

    runJVMOptions

    The options to prepend to all user-specified arguments. By default, this is empty.

    connectInput

    If true, the standard input of the forked process is connected to the standard input of this process. Otherwise, it is connected to an empty input stream. Connecting input streams can be problematic, especially on versions before Java 7.

    envVars

    The environment variables to provide to the forked process. By default, none are provided.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bootJars: Seq[File]

    Permalink

    The list of jars to put on the forked boot classpath.

    The list of jars to put on the forked boot classpath. By default, this is empty.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val connectInput: Boolean

    Permalink

    If true, the standard input of the forked process is connected to the standard input of this process.

    If true, the standard input of the forked process is connected to the standard input of this process. Otherwise, it is connected to an empty input stream. Connecting input streams can be problematic, especially on versions before Java 7.

    Definition Classes
    ForkOptionsForkJava
  8. val envVars: Map[String, String]

    Permalink

    The environment variables to provide to the forked process.

    The environment variables to provide to the forked process. By default, none are provided.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val javaHome: Option[File]

    Permalink

    The Java installation to use.

    The Java installation to use. If not defined, the Java home for the current process is used.

    Definition Classes
    ForkOptionsForkJava
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val outputStrategy: Option[OutputStrategy]

    Permalink

    Configures the forked standard output and error streams.

    Configures the forked standard output and error streams. If not defined, StdoutOutput is used, which maps the forked output to the output of this process and the forked error to the error stream of the forking process.

    Definition Classes
    ForkOptionsForkJava
  18. val runJVMOptions: Seq[String]

    Permalink

    The options to prepend to all user-specified arguments.

    The options to prepend to all user-specified arguments. By default, this is empty.

    Definition Classes
    ForkOptionsForkScalaRun
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. val workingDirectory: Option[File]

    Permalink

    The directory to use as the working directory for the forked process.

    The directory to use as the working directory for the forked process. By default, this is the working directory of the forking process.

    Definition Classes
    ForkOptionsForkScalaRun

Deprecated Value Members

  1. def scalaJars: Iterable[File]

    Permalink
    Definition Classes
    ForkOptionsForkScala
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use bootJars.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ForkScalaRun

Inherited from ForkScala

Inherited from ForkJava

Inherited from AnyRef

Inherited from Any

Ungrouped