xuwei-k
b1eff478ce
Scala 3.7.1
2025-06-03 07:50:08 +09:00
Eugene Yokota
967ecb49bc
deps: Scala 3.7.0
2025-05-11 01:30:07 -04:00
Eugene Yokota
de5c9b1869
Scala 3.6.4
2025-03-10 01:51:32 -04:00
Eugene Yokota
8db8c79d33
Implement client-side run
...
**Problem**
`run` task has been emulated via function call inside of a sandboxed classloader,
and blocking the command processing of sbt server loop.
This poses isolation and availability issues.
**Solution**
This implements client-side run where the server creates a sandbox environment, and sends the information to the client,
and the client forks a new JVM to perform the run.
The client-side behavior has been implemented in sbtn side already.
2025-03-09 15:00:24 -04:00
Eugene Yokota
2c3c0f4a7c
Merge branch '1.10.x' into wip/merge-1.10.x
2025-03-08 19:05:30 -05:00
Eugene Yokota
5d5fe21ec5
Revert run switching on 1.x
...
**Problem**
client-side run apparently won't work for Scala.JS,
so forcing sbtn users to client-side run will break the Scala.JS users.
**Solution**
This reverts the client-side run on sbt 1.x, while retaining the
mechanism for sbt 2.x usages via sbtn.
Now, if `run / connectInput := true` is true, stdout will not display on sbtn.
2025-03-03 04:59:36 -05:00
Eugene Yokota
a18ed19cbc
fix: Use JDK path, not JRE path
...
**Problem**
There are a few places where javaHome or java path is set,
using java.home system property. The problem is that it points to JRE,
not JDK, so it would break on Java compilation etc.
**Solution**
If the path ends with jre, go up one directory.
2025-03-03 02:31:44 -05:00
Eugene Yokota
67265638c6
Implement client-side run
...
**Problem**
`run` task blocks the server, but during the run the server is just
waiting for the built program to finish.
**Solution**
This implements client-side run where the server creates a sandbox
environment, and sends the information to the client,
and the client forks a new JVM to perform the run.
2025-03-02 20:45:04 -05:00
Eugene Yokota
cb63de6574
Merge branch '1.10.x' into wip/merge-1.10.x
2025-02-10 02:43:30 -05:00
Josh Soref
613eb86447
Spelling ( #8028 )
...
* spelling: 1.x
Signed-off-by: Josh Soref <[email protected] >
* spelling: a
Signed-off-by: Josh Soref <[email protected] >
* spelling: aether
Signed-off-by: Josh Soref <[email protected] >
* spelling: anymore
Signed-off-by: Josh Soref <[email protected] >
* spelling: artifact
Signed-off-by: Josh Soref <[email protected] >
* spelling: available
Signed-off-by: Josh Soref <[email protected] >
* spelling: be
Signed-off-by: Josh Soref <[email protected] >
* spelling: bridge
Signed-off-by: Josh Soref <[email protected] >
* spelling: cannot
Signed-off-by: Josh Soref <[email protected] >
* spelling: case-insensitive
Signed-off-by: Josh Soref <[email protected] >
* spelling: checksum
Signed-off-by: Josh Soref <[email protected] >
* spelling: class loads
Signed-off-by: Josh Soref <[email protected] >
* spelling: contra
Signed-off-by: Josh Soref <[email protected] >
* spelling: dependencies
Signed-off-by: Josh Soref <[email protected] >
* spelling: dependency
Signed-off-by: Josh Soref <[email protected] >
* spelling: dependent
Signed-off-by: Josh Soref <[email protected] >
* spelling: deriveds
Signed-off-by: Josh Soref <[email protected] >
* spelling: describes
Signed-off-by: Josh Soref <[email protected] >
* spelling: early
Signed-off-by: Josh Soref <[email protected] >
* spelling: enclosed
Signed-off-by: Josh Soref <[email protected] >
* spelling: evaluation
Signed-off-by: Josh Soref <[email protected] >
* spelling: excluding
Signed-off-by: Josh Soref <[email protected] >
* spelling: execution
Signed-off-by: Josh Soref <[email protected] >
* spelling: for
Signed-off-by: Josh Soref <[email protected] >
* spelling: frequently
Signed-off-by: Josh Soref <[email protected] >
* spelling: github
Signed-off-by: Josh Soref <[email protected] >
* spelling: green
Signed-off-by: Josh Soref <[email protected] >
* spelling: https://www
Signed-off-by: Josh Soref <[email protected] >
* spelling: https
Signed-off-by: Josh Soref <[email protected] >
* spelling: in-sourcing
Signed-off-by: Josh Soref <[email protected] >
* spelling: include
Signed-off-by: Josh Soref <[email protected] >
* spelling: incompatible
Signed-off-by: Josh Soref <[email protected] >
* spelling: indefinitely
Signed-off-by: Josh Soref <[email protected] >
* spelling: information
Signed-off-by: Josh Soref <[email protected] >
* spelling: inputted
Signed-off-by: Josh Soref <[email protected] >
* spelling: just
Signed-off-by: Josh Soref <[email protected] >
* spelling: lastmodifiedtimes
Signed-off-by: Josh Soref <[email protected] >
* spelling: latest
Signed-off-by: Josh Soref <[email protected] >
* spelling: manifest
Signed-off-by: Josh Soref <[email protected] >
* spelling: miscellaneous
Signed-off-by: Josh Soref <[email protected] >
* spelling: more
Signed-off-by: Josh Soref <[email protected] >
* spelling: neither
Signed-off-by: Josh Soref <[email protected] >
* spelling: never
Signed-off-by: Josh Soref <[email protected] >
* spelling: nonexistent
Signed-off-by: Josh Soref <[email protected] >
* spelling: opted
Signed-off-by: Josh Soref <[email protected] >
* spelling: outputting
Signed-off-by: Josh Soref <[email protected] >
* spelling: params
Signed-off-by: Josh Soref <[email protected] >
* spelling: performance
Signed-off-by: Josh Soref <[email protected] >
* spelling: preceding
Signed-off-by: Josh Soref <[email protected] >
* spelling: presentation
Signed-off-by: Josh Soref <[email protected] >
* spelling: project
Signed-off-by: Josh Soref <[email protected] >
* spelling: projects
Signed-off-by: Josh Soref <[email protected] >
* spelling: protocol
Signed-off-by: Josh Soref <[email protected] >
* spelling: related
Signed-off-by: Josh Soref <[email protected] >
* spelling: representation
Signed-off-by: Josh Soref <[email protected] >
* spelling: res
Signed-off-by: Josh Soref <[email protected] >
* spelling: resolverlist
Signed-off-by: Josh Soref <[email protected] >
* spelling: resolverset
Signed-off-by: Josh Soref <[email protected] >
* spelling: response
Signed-off-by: Josh Soref <[email protected] >
* spelling: returned
Signed-off-by: Josh Soref <[email protected] >
* spelling: sbt_version
Signed-off-by: Josh Soref <[email protected] >
* spelling: scalacheck
Signed-off-by: Josh Soref <[email protected] >
* spelling: sentinels
Signed-off-by: Josh Soref <[email protected] >
* spelling: separates
Signed-off-by: Josh Soref <[email protected] >
* spelling: serves
Signed-off-by: Josh Soref <[email protected] >
* spelling: should
Signed-off-by: Josh Soref <[email protected] >
* spelling: significant
Signed-off-by: Josh Soref <[email protected] >
* spelling: specifically
Signed-off-by: Josh Soref <[email protected] >
* spelling: substitute
Signed-off-by: Josh Soref <[email protected] >
* spelling: suppress
Signed-off-by: Josh Soref <[email protected] >
* spelling: terminal
Signed-off-by: Josh Soref <[email protected] >
* spelling: the
Signed-off-by: Josh Soref <[email protected] >
* spelling: title
Signed-off-by: Josh Soref <[email protected] >
* spelling: transitive
Signed-off-by: Josh Soref <[email protected] >
* spelling: version
Signed-off-by: Josh Soref <[email protected] >
* spelling: versions
Signed-off-by: Josh Soref <[email protected] >
* spelling: want
Signed-off-by: Josh Soref <[email protected] >
* spelling: wanting
Signed-off-by: Josh Soref <[email protected] >
* spelling: whether
Signed-off-by: Josh Soref <[email protected] >
* link: sbt Cached Resolution
Signed-off-by: Josh Soref <[email protected] >
* link: Testing sbt plugins
Signed-off-by: Josh Soref <[email protected] >
---------
Signed-off-by: Josh Soref <[email protected] >
2025-02-04 01:11:28 -05:00
Eugene Yokota
0fa3ed57c1
IO 1.10.4
2025-01-03 05:27:58 -05:00
xuwei-k
13d6626564
update .scalafmt.conf. enforce new scala 3 syntax
2025-01-02 11:25:34 +09:00
Friendseeker
655310061f
Add unit test
2024-12-26 14:56:18 -08:00
Eugene Yokota
0906b2d7ac
fix: Use JDK path, not JRE path
...
**Problem**
There are a few places where javaHome or java path is set,
using java.home system property. The problem is that it points to JRE,
not JDK, so it would break on Java compilation etc.
**Solution**
If the path ends with jre, go up one directory.
2024-12-15 02:47:35 -05:00
xuwei-k
c5b7038f3a
use given instead of implicit val
2024-11-17 17:35:23 +09:00
Eugene Yokota
56941dac04
refactor: Update Scala 3 syntax
2024-10-27 23:55:30 -04:00
Friendseeker
5a1c66b109
Fix BuildServerTest
2024-10-21 21:38:59 -07:00
eugene yokota
32464d382c
Merge pull request #7797 from Friendseeker/bump-scala-2
...
[2.x] Bump Scala 2.12 to 2.12.20
2024-10-21 21:41:28 -04:00
Friendseeker
dd16c9b0db
Bump Scala 2 to 2.19.20
2024-10-21 15:11:52 -07:00
SlowBrainDude
b1b5caa1ca
Fix stale BSP diagnostics
...
The BSP server didn't reset old diagnostic messages sent to BSP clients under
certain circumstances. This commit mitigates this edge case and ensures that
diagnostics for files that previously had compilation problems are properly
reset when fresh diagnostics messages are sent.
The culprit was a mismatch of map keys: Files with problems were sometimes recorded
under an absolute path, but later attempted to be retrieved by virtual path.
2024-10-21 12:18:41 -07:00
Seth Tisue
f06b7622be
Scala 2.12.20 (was .19)
2024-10-10 12:53:31 -07:00
eugene yokota
bb32c385fb
[2.x] fix: Append -root to synthetic root ( #7716 )
...
**Problem**
I notice that the synthetic root project ends up conflicting with
the projectMatrix on Scala 3, when the name of the matrix
matches the directory name, which is fairly common.
**Solution**
Append `-root` to the root project when there are multiple subprojects found.
2024-10-03 20:19:58 +02:00
xuwei-k
cfb9ffea95
remove deprecated [this] qualifier
...
https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html
2024-10-03 21:16:48 +09:00
Eugene Yokota
a6b4cfef12
refactor: Remove old sbt 0.13 shell syntax
2024-09-28 13:51:14 -04:00
adpi2
03d5bf6e55
Fix BuildServerTest
2024-09-03 10:09:07 +02:00
SlowBrainDude
f6663a0d6c
Fix stale BSP diagnostics
...
The BSP server didn't reset old diagnostic messages sent to BSP clients under
certain circumstances. This commit mitigates this edge case and ensures that
diagnostics for files that previously had compilation problems are properly
reset when fresh diagnostics messages are sent.
The culprit was a mismatch of map keys: Files with problems were sometimes recorded
under an absolute path, but later attempted to be retrieved by virtual path.
2024-09-02 15:27:26 +02:00
Adrien Piquerez
47c60bab2e
Fix cleaning packed dir
...
`clean` should delete the packed dir. If it does not,
the next `compileIncremental`, which is a cache hit, will see that
the packed dir is already there and will not unpack it.
2024-08-26 16:29:21 +02:00
Adrien Piquerez
ba5ac774df
Test custom class directory
2024-08-26 10:43:15 +02:00
Eugene Yokota
d134c52f4a
Ignore some server tests
2024-08-18 16:25:21 -04:00
Eugene Yokota
0ee768464b
Remove custom target support
2024-08-18 16:24:50 -04:00
Eugene Yokota
3ef3a605c2
Merge branch '1.10.x' into wip/merge-1.10.x
2024-08-18 12:37:24 -04:00
Adrien Piquerez
299f7b4543
Fix ResponseTest
2024-06-06 10:36:29 +02:00
Adrien Piquerez
8b691f942e
Fix BuildServerTest
2024-06-06 10:36:29 +02:00
Adrien Piquerez
68f787c474
Disable twirl tests in BuildServerTest
2024-06-06 10:36:29 +02:00
Adrien Piquerez
492cd2c091
Fix compilation
2024-06-06 10:36:29 +02:00
Adrien Piquerez
f990bd2d8d
[BSP] Fix importing Optional project dependency
2024-05-21 15:56:37 +02:00
Eugene Yokota
c81d269ed2
Merge branch '1.10.x' into wip/merge-1.10.x
2024-05-07 04:39:25 -04:00
Adrien Piquerez
8865565004
Fix classloader-cache/resources
2024-04-10 15:32:50 +02:00
Adrien Piquerez
8870cb6a82
Fix Java 8 compat
2024-04-09 15:33:22 +02:00
Adrien Piquerez
62f077e657
fix BuildServerTest
2024-03-21 15:07:29 +01:00
Adrien Piquerez
b5afcf8a0c
Fix server completion tests
2024-03-19 17:06:09 +01:00
Adrien Piquerez
03ca5365f5
Fix BuildServerTest
2024-03-19 17:06:09 +01:00
Adrien Piquerez
924150851c
Port server tests to scalatest and fix
2024-03-19 17:06:09 +01:00
Seth Tisue
735214afd0
Scala 2.12.19 (was 2.12.18), scala-xml 2.2.0 (was 2.1.0)
2024-03-16 11:39:55 +01:00
Adrien Piquerez
02df82840a
add noOp field in BSP compile report
2024-02-15 15:50:02 +01:00
Adrien Piquerez
a4097440bf
Build server test refactoring
2023-10-25 15:01:08 +02:00
Adrien Piquerez
b189d49968
Refactoring
2023-10-25 14:19:03 +02:00
unknown
3d1319efea
Use sourcePositionMappers in BuildServerReporter
2023-10-25 11:40:18 +02:00
Adrien Piquerez
667e4b67cd
Fix initialize test
2023-08-22 10:06:26 +02:00
Adrien Piquerez
5515619ecc
Implement buildTarget/javacOptions
2023-08-10 16:11:28 +02:00