Skip to content

sbtw #5406

@dwijnand

Description

@dwijnand
  • runners: sbt-extras vs sbt-launcher-package
  • thin client (ala cb372/sbt-client)
  • launchers: sbt-launcher vs csbt vs RunFromSourceMain

brew install dwijnand/formulas/coursier

  • use coursier to write brew formula, apt package, etc

    • coursier install --graalvm-home=$JAVA_HOME sbt (uses coursier/apps, current v1.3.7)
  • sbt-dynamic-launcher v1.3.7 (native) -- csbt 5%

    • reads build.properties for sbt.version, fallback to installationVersion
    • fetches sbtw and sbt for that version
    • launches sbtw
  • sbtw / sbt-thin-client v${sbt.version} (native) -- csbt 95% + ethan's client

    • // case new => run new code
    • case --help => showUsage
    • // if no server running, launch it
    • // start thin client loop
    • start server, connected to it
  • sbt server (jvm)

design constraints

  • sbtw must be able to launch old sbt 1.x releases
  • old sbt-launcher must be able to launch new sbt 1.4+ releases
  • old sbt-launcher, sbtw, and sbtw console must have the same semantics

actions/todos

  • names
  • installation process
  • stage 1: get thin client to users, switching packages/tarballs to coursier/sbt-extras
  • stage 2: subsume the bash/BAT scripts, with the rest of the setup ^

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions