Commit Graph

1596 Commits

Author SHA1 Message Date
Eugene Yokota e42d61e0d8 sbt 1.12.14 2026-07-16 18:17:47 -04:00
eugene yokota 891960e2ec [2.x] fix: Fixes shutdownall (#9435)
**Problem**
sbt shutdown all requires --server.

**Solution**
Fix it so it doesn't need extra flag.
2026-07-15 18:25:45 -04:00
Eugene Yokota 14057ad32b [1.x] sbtn 2.0.0-b4d628dd 2026-07-15 18:23:33 -04:00
Eugene Yokota df1243400e sbt 1.12.13 2026-06-21 17:36:11 -04:00
eugene yokota 95fe9b69ed [2.x] sbtn 2.0.0-2932685e (#9363) 2026-06-21 15:13:39 -04:00
Eugene Yokota b5bda9cc19 sbt 1.12.12 2026-06-14 02:04:51 -04:00
eugene yokota d3a88f58b4
[1.x] sbtn 2.0.0-f0d2fae4 (#9334) 2026-06-14 01:32:30 -04:00
eugene yokota 2cbadf4562
[1.x] perf: short-circuit --version from build.properties (#8822) (#9331)
Avoid launching sbt just to render --version by reading sbt.version directly from project/build.properties in the shell script, batch script, and sbtw wrapper. Tighten launcher integration assertions to verify version output no longer depends on the sbtVersion command output.

Co-authored-by: bitloi <89318445+bitloi@users.noreply.github.com>
2026-06-13 23:56:39 -04:00
eugene yokota 61c658a557
[1.x] Update sbtn to 2.0.0-RC14 (#9329) 2026-06-13 14:27:39 -04:00
Eugene Yokota f2d97b703e sbt 1.12.11 2026-05-02 16:29:03 -04:00
Eugene Yokota 0f946cb961 sbt 1.12.10 2026-04-27 01:45:20 -04:00
eugene yokota b41ca564f6
[1.x] Bump sbtn to 2.0.0-RC13 (#9139) 2026-04-27 01:01:00 -04:00
eugene yokota 6723437f97
[1.x] hide JDK warnings if JDK 26 or later (#9120)
Co-authored-by: kenji yoshida <6b656e6a69@gmail.com>
2026-04-21 23:39:59 -04:00
Eugene Yokota 00899b0657 sbt 1.12.9 2026-04-07 00:28:30 -04:00
Eugene Yokota 760a63e224 sbt 1.12.8 2026-03-24 22:10:39 -04:00
Eugene Yokota 5391601ee9 sbt 1.12.7 2026-03-23 18:14:15 -04:00
Eugene Yokota de617bff87 sbt 1.12.6 2026-03-15 22:39:04 -04:00
Eugene Yokota 52d54e495f sbt 1.12.5 2026-03-01 18:00:15 -05:00
eugene yokota 345e0e0739
[1.x] sbtn 1.12.5 (#8859) 2026-03-01 16:53:48 -05:00
eugene yokota ec0d181abe
[1.x] fix: Runner should fail on JDK < 17 for sbt 2.x (#8825) (#8854)
**Problem**
Running sbt 2.x with JDK 8 produces a confusing "server was not
detected" error because the JDK version check only required JDK 8+
and only ran in the non-native-client path.

**Solution**
Move java_version detection before the native client decision and add
checkJava17ForSbt2 that requires JDK 17+ when sbt major version >= 2.

Fixes #8813

Co-authored-by: Dream <42954461+eureka928@users.noreply.github.com>
2026-03-01 05:30:13 -05:00
eugene yokota c88b641c36
[1.x] fix: Refer to universal sbtn in detectNativeClient (#8810) (#8851)
** Problem **
sbtn-x86_64-apple-darwin doesn't exist anymore

** Solution **
point to universal binary instead

Co-authored-by: fireXtract <fireXtract@users.noreply.github.com>
2026-03-01 05:28:23 -05:00
eugene yokota 0e11aebddc
[1.x] Comments in dot files (#8841) (#8848)
**Problem**
Hash comments doesn't work in dot files.

**Solution**
This reapplies the comment removal sed,
with improved inline comment handling.
2026-03-01 05:27:17 -05:00
Eugene Yokota f49145f4f6 sbt 1.12.4 2026-02-23 03:46:28 -05:00
eugene yokota a131470288
Revert "[1.x] fix: Handle JVM parameters with spaces in dot files (#8730) (#8738)" (#8798)
This reverts commit 44187ea00b.
2026-02-23 02:41:50 -05:00
Eugene Yokota dc754e6a2e sbt 1.12.3 2026-02-14 19:00:32 -05:00
eugene yokota 4467369757
[1.x] fix: handle --version in sbt 2.x project dirs (sbt#8717) (#8735) (#8739)
**Problem**
`sbt --version` in sbt 2.x project directories was delegated to the native client, which could try to start/connect to a server instead of printing version info.

**Solution**
Skip native-client delegation when `--version` is requested, and add runner-script tests for sbt 1.x and 2.x project variants.

Co-authored-by: Pluto <128720033+it-education-md@users.noreply.github.com>
2026-02-14 05:01:04 -05:00
eugene yokota 44187ea00b
[1.x] fix: Handle JVM parameters with spaces in dot files (#8730) (#8738)
**Problem**

The sbt launcher script used naive word splitting when parsing `.sbtopts` and `.jvmopts`, so arguments with spaces were split incorrectly. For example, `-J--add-modules jdk.incubator.concurrent` in `.sbtopts` and `-Dtest.key="value with spaces"` in `.jvmopts` were not passed to the JVM as intended.

Co-authored-by: PandaMan <joewartson757@gmail.com>
2026-02-14 05:00:45 -05:00
eugene yokota 029c45bb81
[1.x] fix: handle --script-version sbt 2.x project dirs (#8715) (#8737)
When in an sbt 2.x project directory, the script used to delegate to sbtn
before checking --script-version, so 'sbt --script-version' ran sbtn and
failed. Now we print the script version and exit before the native client
branch.

Co-authored-by: PandaMan <joewartson757@gmail.com>
2026-02-14 03:50:50 -05:00
Pluto 59f4bd743e [2.x] fix: restore CLI precedence over .sbtopts
According to the issue, `.sbtopts` entries are appended after
CLI args in sbt 1.12.x, so `.sbtopts` JVM memory settings (e.g., `-Xmx2g`) override CLI `--mem`,
causing invalid JVM settings.
2026-02-07 01:58:36 -05:00
circlecrystalin 02cd20e928 [2.x] fix: Fixes the handling of special characters in dot files (#8558)
- Replace 'eval echo $line' with 'printf "%s\n" "$line"' in loadConfigFile()
- Prevents shell expansion of special characters like |, *, &, etc.
- Fixes issue where properties with pipes, wildcards, and ampersands
  caused 'command not found' or 'unexpected' errors
- Add test to verify special characters are handled correctly on all platforms
2026-02-07 01:58:05 -05:00
Eugene Yokota 1a50aa32f2 sbt 1.12.2 2026-02-04 00:23:22 -05:00
eugene yokota 92a4af4f97
[1.x] Bump to sbtn 1.12.1 (#8684) 2026-02-03 21:39:44 -05:00
Eugene Yokota 6e974bb283 sbt 1.12.1 2026-01-26 06:01:43 -05:00
MkDev11 e756c6dc88 [2.x] fix: Skip native client for sbt new/init commands (#8512)
Fixes #7497
2026-01-17 17:46:09 -05:00
SID 1fd24af87e
[1.x] bport: Fix sbtopts files priority in sbt launch script (#8520)
- Change from prepend to append for machine/dist sbtopts
- Change project .sbtopts from prepend to append so it appears last
- Project-level .sbtopts now correctly overrides machine-wide configs
- Add integration tests to verify sbtopts priority order
- Extend testOutput to support dist and machine sbtopts testing
- Copy staging directory to temp location to avoid modifying staging dir
2026-01-13 14:43:22 -05:00
Eugene Yokota fcb4e0e43c sbt 1.12.0 2026-01-04 21:18:03 -05:00
Eugene Yokota 67e52c3006 sbt 1.12.0-RC1 2025-12-19 23:46:35 -05:00
Ondra Pelech 527989ee10 fix 2025-12-12 16:35:00 +01:00
Ondra Pelech d48895df85 Handle JDK_JAVA_OPTIONS 2025-12-12 15:44:25 +01:00
Eugene Yokota 9d2a5f478b sbt 1.11.7 2025-10-05 14:57:23 -04:00
Eugene Yokota 51aa789346 Suppress JDK 25 warnings 2025-09-28 04:17:50 -04:00
Eugene Yokota 9186f23839 sbt 1.11.6 2025-09-06 18:42:39 -04:00
Eugene Yokota c432f19759 Set to 1.11.5 in the runner script 2025-08-24 15:52:49 -04:00
Eugene Yokota 94d20176d9 sbtn 1.11.5 2025-08-24 05:50:16 -04:00
Eugene Yokota 2de01a8a05 [1.x] --jvm-client
This adds --jvm-client to the runner script.
2025-08-24 00:32:37 -04:00
Eugene Yokota 1186515b1a sbt 1.11.4 2025-08-04 06:16:57 -04:00
Eugene Yokota 2293bddfef sbt 1.11.3 2025-07-05 15:17:39 -05:00
Eugene Yokota 0045c34d28 sbt 1.11.2 2025-06-07 16:19:15 -04:00
Eugene Yokota d004317458 sbt 1.11.1 2025-06-02 00:20:11 -04:00
Eugene Yokota aaaecfcef6 sbt 1.11.0 2025-05-24 02:38:08 -04:00