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

object ClassInJar

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

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. def apply(jar: Path, cls: ClassFilePath): ClassInJar

    The base constructor for ClassInJar

    The base constructor for ClassInJar

    jar

    the jar file

    cls

    the relative path to class within the jar

    returns

    a proper ClassInJar identified by given jar and path to class

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromFile(f: File): ClassInJar

    Initialized ClassInJar based on its serialized value stored inside a file

  11. def fromPath(p: Path): ClassInJar
  12. def fromURL(url: URL, jar: Path): ClassInJar

    Converts an URL to a class in a jar to ClassInJar.

    Converts an URL to a class in a jar to ClassInJar. The method is rather trivial as it also takes precomputed path to the jar that it logically should extract itself. However as it is computed at the callsite anyway, to avoid recomputation it is passed as a parameter/

    As an example, given a URL: "jar:file:///C:/develop/zinc/target/output.jar!/sbt/internal/inc/Compile.class" and a file: "C:\develop\zinc\target\output.jar" it will create a ClassInJar represented as: "C:\develop\zinc\target\output.jar!sbt\internal\inc\Compile.class"

    url

    url to a class inside a jar

    jar

    a jar file where the class is located in

    returns

    the class inside a jar represented as ClassInJar

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped