sbt

ForkOptions

final case class ForkOptions(javaHome: Option[File] = scala.None, outputStrategy: Option[OutputStrategy] = scala.None, bootJars: Seq[File] = immutable.this.Nil, workingDirectory: Option[File] = scala.None, runJVMOptions: Seq[String] = immutable.this.Nil, connectInput: Boolean = false, envVars: Map[String, String] = ...) 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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: 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. val bootJars: Seq[File]

    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.

  8. def clone(): AnyRef

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

    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
  10. val envVars: Map[String, String]

    The environment variables to provide to the forked process.

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

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

    Definition Classes
    AnyRef
  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. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val javaHome: Option[File]

    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
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

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

    Definition Classes
    AnyRef
  19. val outputStrategy: Option[OutputStrategy]

    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
  20. val runJVMOptions: Seq[String]

    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
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

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

    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]

    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