Commit Graph

5 Commits

Author SHA1 Message Date
bitloi a1ec294a6d Apply scalafmt to ArgParser.scala 2026-02-16 00:12:18 +01:00
bitloi 6e534d75cb Remove unused JProcess import in Runner.scala 2026-02-15 23:50:44 +01:00
bitloi b1c8c46a5b Address PR review: optional braces, JProcess for interactive run, workflow comment
- ArgParser: use optional brace / fewer braces style per sbt coding style
- Runner.runJvm: use Java ProcessBuilder with inheritIO() for interactive sbt
- client-test.yml: clarify why sbtw native image is not smoke-tested
2026-02-15 23:38:50 +01:00
bitloi 40a1cfd6d3 Implement sbtw Windows drop-in launcher (sbt/sbt#5406)
- Add sbtwProj: Scala 3.3.7 launcher with scopt, drop-in for sbt.bat
- Config: .sbtopts, .jvmopts, sbtconfig.txt, JAVA_OPTS/SBT_OPTS precedence
- Options: --client, --server, --jvm-client, mem, sbt-version, java-home, etc.
- sbt 2.x defaults to native client; --server forces JVM launcher
- JVM run via xsbt.boot.Boot; native via sbtn with --sbt-script
- build.sbt: sbtwProj in root build and allProjects; NativeImagePlugin
- Fixes: JAVA_OPTS then .jvmopts, build.properties trim, shutdownAll PID, Iterator.lastOption
2026-02-15 02:29:12 +01:00
bitloi 0c017d2e52 Implement sbtw Windows drop-in launcher 2026-02-15 02:12:53 +01:00