sbt, the interactive build tool
Go to file
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
.github Zinc 1.9.4 2023-09-13 23:29:11 -04:00
client Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
core-macros/src/main/scala/sbt/internal/util/appmacro Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
dependency-tree/src/main/scala/sbt/plugins Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
internal Keep logger names in hash set 2023-09-25 17:40:12 +02:00
launch Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
launcher-package Fix java opts load order on windows 2023-09-06 16:34:02 +02:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Merge pull request #7352 from adpi2/bsp-javacoptions 2023-09-21 13:54:31 -04:00
main-actions/src some trivial refactoring 2023-06-25 08:57:41 +09:00
main-command/src Remove invalid test 2023-09-13 22:34:41 +02:00
main-settings/src Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
notes fix typo 2023-06-24 20:05:52 +09:00
project Zinc 1.9.5 2023-09-15 10:35:54 -04:00
protocol/src/main Implement buildTarget/javacOptions 2023-08-10 16:11:28 +02:00
run fix typo 2023-06-24 20:05:52 +09:00
sbt-app/src Use binary compiler bridge 2023-09-11 23:15:15 -04:00
scripted-plugin/src/main/scala/sbt Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
scripted-sbt-old/src/main/scala/sbt/test Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
scripted-sbt-redux Keep the close method 2023-07-23 01:01:23 -04:00
server-test/src Fix initialize test 2023-08-22 10:06:26 +02:00
src/main/conscript sbt 1.3.0 2019-09-04 01:24:08 -04:00
tasks fix scaladoc warnings 2023-06-25 08:04:17 +09:00
tasks-standard some trivial refactoring 2023-06-25 08:57:41 +09:00
testing Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
util-cache Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
util-tracking Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
zinc-lm-integration/src Use binary compiler bridge 2023-09-11 23:15:15 -04:00
.gitattributes Fix line endings in msi 2021-11-19 20:41:39 -05:00
.gitignore fix: bspConfig sbt.script - use `Path` env variable as a fallback for Windows 2022-12-06 20:41:14 +03:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -05:00
.mailmap Add mailmap 2019-06-11 09:30:14 +02:00
.sbtopts Restore .sbtopts file 2020-11-19 12:42:26 -08:00
.scalafmt.conf SourcePositionMacro for Scala 3 2021-11-16 16:32:31 +09:00
CONTRIBUTING.md Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
DEVELOPING.md Fix typo in DEVELOPING.md 2023-06-14 19:51:31 +08:00
LICENSE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
PROFILING.md fix typo 2018-07-08 22:18:57 +09:00
README.md Update badges 2022-07-04 11:11:49 -04:00
SUPPORT.md Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
build.sbt Merge pull request #7352 from adpi2/bsp-javacoptions 2023-09-21 13:54:31 -04:00
reset.sh 1.0.3-SNAPSHOT 2017-09-16 15:52:58 -04:00
sbt sbt 1.9.6 2023-09-15 11:57:17 -04:00
sbt-allsources.sh Build from fresh modules 2020-11-14 14:23:48 -05:00
sbt.sh Implement sbt-launch.jar download 2021-04-19 23:43:15 -04:00
server.md setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00

README.md

CI Latest version Discord

sbt

sbt is a build tool for Scala, Java, and more.

For general documentation, see https://www.scala-sbt.org/.

sbt 1.x

This is the 1.x series of sbt. The source code of sbt is split across several GitHub repositories, including this one.

  • sbt/io hosts sbt.io module.
  • sbt/librarymanagement hosts sbt.librarymanagement module that wraps Ivy.
  • sbt/zinc hosts Zinc, an incremental compiler for Scala.
  • sbt/sbt, this repository hosts modules that implements the build tool.
  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try searching or asking on StackOverflow.

license

See LICENSE.