Packages

  • package root
    Definition Classes
    root
  • package sbt
    Definition Classes
    root
  • package internal
    Definition Classes
    sbt
  • package inc
    Definition Classes
    internal
  • object JarUtils

    This is a utility class that provides a set of functions that are used to implement straight to jar compilation.

    This is a utility class that provides a set of functions that are used to implement straight to jar compilation.

    xsbt.JarUtils is a class that has similar purpose and duplicates some of the code, as it is difficult to share it.

    Definition Classes
    inc
  • ClassInJar
  • OutputJarContent

final class ClassInJar extends AnyVal

ClassInJar is an identifier for a class located inside a jar. For plain class files it is enough to simply use the actual file system path. A class in a jar is identified as a path to the jar and path to the class within that jar (RelClass). Those two values are held in one string separated by !. Slashes in both paths are consistent with File.separatorChar as the actual string is usually kept in File object.

As an example: given a jar file "C:\develop\zinc\target\output.jar" and a relative path to the class "sbt/internal/inc/Compile.class" The resulting identifier would be: "C:\develop\zinc\target\output.jar!sbt\internal\inc\Compile.class"

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassInJar
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassInJar(toString: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def splitJarReference: (File, Option[ClassFilePath])
  8. def toClassFilePath: Option[ClassFilePath]
  9. def toClassFilePathOrNull: ClassFilePath
  10. def toFile: File

    Wraps the string value inside a java.io.File object.

    Wraps the string value inside a java.io.File object. File is needed to e.g. be compatible with xsbti.compile.analysis.ReadStamps interface.

  11. def toPath: Path
  12. val toString: String
    Definition Classes
    ClassInJar → Any

Inherited from AnyVal

Inherited from Any

Ungrouped