Commit Graph

11901 Commits

Author SHA1 Message Date
eugene yokota 1f94406ba0
Merge pull request #7386 from Duhemm/log4j-loggers-list
Keep logger names in hash set
2023-10-12 02:55:39 -04:00
Martin Duhem d27a1a4ebb Add MiMa exclusion
Changing the return type of is fine because this symbol is private and
internal to sbt.
2023-10-11 20:59:19 +02:00
MINKYU LEE 9f1d2fd4ed
Fix bug of unmanagedResourceDirectories (#7178)
Sort resourceDirectories for copyResourcesTask
2023-10-08 22:56:48 -04:00
eugene yokota c48c1f66de
Merge pull request #7399 from xuwei-k/System-runFinalization
catch `NoSuchMethodError` when call `runFinalization`
2023-10-08 13:45:45 -04:00
eugene yokota f1755cdf87
Merge pull request #7398 from xuwei-k/ScriptedLauncher-URL-constructor
avoid deprecated `java.net.URL` constructor
2023-10-08 13:33:46 -04:00
kenji yoshida 32558c9537
catch NoSuchMethodError when call runFinalization 2023-10-08 18:04:06 +09:00
xuwei-k 8d44bbb8a5 avoid deprecated `java.net.URL` constructor
- https://bugs.openjdk.org/browse/JDK-8295949
- 4338f527aa
2023-10-08 17:49:20 +09:00
eugene yokota 5d6d30ed1c
Merge pull request #7396 from mkurz/uri_log_dependencyBrowseTree 2023-10-07 13:03:25 -04:00
Matthias Kurz 5fddf3d741
Include uri in log of dependencyBrowseTree 2023-10-07 12:20:01 +02:00
Domantas Petrauskas bf8e92be74
Fix VM argument passing by .sbtopts file and JAVA_TOOL_OPTIONS environmental variable (#7393)
Fixes #7387

* Fix VM argument passing by .sbtopts file and JAVA_TOOL_OPTIONS environmental variable, improve launcher script integration test setup
* Fix sbt process not exiting in launcher test for --sbt-version
* Fix JAVA_TOOL_OPTIONS in launcher for linux/mac
2023-10-06 12:31:27 -04:00
eugene yokota 8f62b3448f
Merge pull request #7394 from sbt/eed3si9n-patch-1
Update build.properties
2023-10-06 11:36:12 -04:00
eugene yokota ebcab3e120
Update build.properties 2023-10-06 10:33:04 -04:00
eugene yokota 36d8fd2569
Merge pull request #7389 from RustedBones/cross-build-external 2023-10-05 08:17:44 -04:00
Michel Davit c5fd4f2e6d Support cross-build for external project ref 2023-10-03 16:12:54 +02:00
Martin Duhem f03320047e
Keep logger names in hash set
Previously, the list of logger names that have been created in a given
context with Log4J was being kept in a `Vector`. As a result, subsequent
calls to `logger` on a `Log4JLoggerContext` with the same logger name
would introduce duplicates in the list. Note that Log4J's logger
configuration would not allow duplicates, and only one configuration
object for a given logger name will exist. The duplicates in the list of
logger names are therefore unnecessary.

With this patch, the logger names will be kept in a `HashSet`.

Since the logger names are only used to remove the logger configurations
after the logger context is closed, and the logger configurations
contain no duplicates, removing duplicate logger names should not cause
any issue.
2023-09-25 17:40:12 +02:00
eugene yokota 397c7a634a
Merge pull request #7352 from adpi2/bsp-javacoptions
[BSP] Implement `buildTarget/javacOptions`
2023-09-21 13:54:31 -04:00
eugene yokota 76fad81522
Merge pull request #7383 from mdedetrich/document-scriptedSbt
Document scriptedSbt
2023-09-20 09:47:57 -04:00
Matthew de Detrich 8ce5f2e336 Document scriptedSbt 2023-09-15 20:49:39 +02:00
Eugene Yokota ef8652f93a sbt 1.9.6 2023-09-15 11:57:17 -04:00
eugene yokota 8b2c9f2050
Merge pull request #7381 from eed3si9n/wip/zinc_revert
Zinc 1.9.5
2023-09-15 11:03:21 -04:00
Eugene Yokota 4701bf7677 Zinc 1.9.5 2023-09-15 10:35:54 -04:00
Eugene Yokota c532d7e69f sbt 1.9.5 2023-09-14 00:56:37 -04:00
eugene yokota 36f7635f10
Merge pull request #7379 from eed3si9n/wip/zinc
Zinc 1.9.4
2023-09-13 23:51:52 -04:00
Eugene Yokota c551c0fbcd Zinc 1.9.4 2023-09-13 23:29:11 -04:00
eugene yokota 8f6de15dd8
Merge pull request #7378 from mdedetrich/remove-invalid-test
Remove invalid test
2023-09-13 21:40:04 -04:00
Matthew de Detrich 47344d264d
Remove invalid test 2023-09-13 22:34:41 +02:00
eugene yokota f7025eff6a
Merge pull request #7087 from mdedetrich/increase-socket-backlog-for-server-client
Set socket backlog to default size of 50
2023-09-13 11:07:44 -04:00
eugene yokota 8b15b441c9
Merge pull request #7374 from eed3si9n/wip/bridge
Use binary compiler bridge
2023-09-12 10:56:41 -04:00
Eugene Yokota b1e9308ebe Use binary compiler bridge
Problem
-------
Starting Scala 2.13.12, Scala 2 has in-sourced the compiler bridge
implementtion, which hopefully will be kept up to date more than the
ones in Zinc.

Solution
--------
This switches to using the pre-compiled compiler bridge for >=2.13.12.
2023-09-11 23:15:15 -04:00
eugene yokota edac172780
Merge pull request #7372 from sbt/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-11 12:14:25 -04:00
dependabot[bot] a5f0b37728
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 04:39:58 +00:00
eugene yokota 8bc8e1316b
Merge pull request #7367 from JD557/patch-1 2023-09-07 09:23:20 -04:00
João Costa bc93eceff7
Fix java opts load order on windows 2023-09-06 16:34:02 +02:00
azdrojowa123 bc00cee4df
Add comment to https://github.com/sbt/sbt/pull/7358 (#7362)
comment for new condition in sbt.BasicCommands.runHelp
2023-08-28 10:48:06 -04:00
azdrojowa123 7c400081a1
Fix help command for shells (#7358)
* sbt-help-fix
* fix BasicCommands.scala formatting
2023-08-25 12:01:49 -04:00
Eugene Yokota cdaae3bfde sbt 1.9.4 2023-08-24 20:55:50 -04:00
eugene yokota d516920b78
Merge pull request #7359 from eed3si9n/wip/bump_ivy
Update Ivy and Coursier to latest
2023-08-24 15:00:38 -04:00
Eugene Yokota bee6748f29 Update Ivy and Coursier to latest 2023-08-24 13:04:58 -04:00
Adrien Piquerez 667e4b67cd Fix initialize test 2023-08-22 10:06:26 +02:00
eugene yokota f5e08386e1
Merge pull request #7354 from SethTisue/add-scala-3-template
add a Scala 3 seed to the sbt new menu
2023-08-16 08:12:42 -04:00
Adrien Piquerez 9522b7e4ed add exclusion 2023-08-16 13:11:39 +02:00
Seth Tisue 876a85461d add a Scala 3 seed to the sbt new menu 2023-08-13 07:18:09 -07:00
eugene yokota 8857ff2960
Merge pull request #7353 from mkurz/rm_conscriptConfigs
Remove `conscriptConfigs` task, not used and needed(?) anymore
2023-08-11 23:03:11 -04:00
Matthias Kurz bd8b11632c
Remove conscriptConfigs task, not used and needed anymore 2023-08-11 21:56:46 +02:00
Adrien Piquerez 5515619ecc Implement buildTarget/javacOptions 2023-08-10 16:11:28 +02:00
adpi2 e3b7870b2d
Merge pull request #7347 from adpi2/fix-scala-debug-adapter-543
Fix scala-debug-adapter#543: Maintain order of internal deps
2023-08-04 09:32:31 +02:00
eugene yokota 98a04959d2
Merge pull request #7349 from arturaz/patch-1 2023-08-04 08:04:36 +09:00
Artūras Šlajus f8a041f47e
Update sbt launcher script
Fix `sbt_script` lookup by replacing all spaces with `%20` (not only the first one) in the path.
2023-08-02 16:30:40 +03:00
Adrien Piquerez 897e2552e4 Maintain order of internal deps 2023-08-02 10:26:59 +02:00
Eugene Yokota e1ffc2af08 sbt 1.9.3 2023-07-24 01:38:07 -04:00