sbt, the interactive build tool
Go to file
Ethan Atkins 5df1d8e23f Cache watch service
I noticed that my custom WatchService was never cleaned up by sbt and
realized that after every build we were making a new WatchService. At
the same time, we were reusing the WatchState from the previous run,
which was using the original WatchService. This was particularly
problematic because it prevented us from registering any paths with the
new watch service. This may have prevented some of the file updates
from being seen by the watch service. Moreover, because we lost the
reference to the original WatchService, there was no way to clean it up,
which was a resource leak.

May be related to #3775, #3695
2018-03-09 06:11:52 -05:00
core-macros/src/main/scala/sbt/internal/util/appmacro Rename & use more Instance.Aux, introduce Instance.Aux2. 2017-10-25 10:15:30 +01:00
internal make strict some methods in Completions 2017-11-23 15:21:02 +09:00
launch Adds sbt.boot.lock sysprop to opt-out 2018-02-08 13:02:39 +00:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Introduce SBT_GLOBAL_SERVER_DIR env var to override too long paths 2018-02-12 17:57:26 +00:00
main-actions/src Change modifiedTime definitions 2017-12-22 01:55:37 +01:00
main-command/src/main Cache watch service 2018-03-09 06:11:52 -05:00
main-settings/src Re-write toolboxClasspath to use sbt-buildinfo 2018-02-23 13:20:19 +00:00
notes notes 2018-02-09 23:33:08 -05:00
project Upgrade to sbt-buildinfo 0.8.0 2018-02-23 13:19:05 +00:00
protocol/src/main start an instance of sbt in the background 2018-02-07 17:49:22 -05:00
run Use Java's redirectInput rather than sys.process's connectInput 2018-02-26 11:30:30 +10:00
sbt/src Fix how fullClasspath is defined in TestBuildInfo 2018-02-23 13:17:51 +00:00
scripted Fix warnings about unused pattern vars in various projects 2017-10-19 13:07:24 +02:00
src/main/conscript 1.1.1 launchconfig 2018-02-08 13:08:21 -05:00
tasks Rewrite to polymorphic function syntax 2017-10-25 10:23:46 +01:00
tasks-standard Rewrite to polymorphic function syntax 2017-10-25 10:23:46 +01:00
testing bump modules and plugins 2017-12-16 12:22:42 -05:00
vscode-sbt-scala Bump vscode-sbt-scala version to 0.1.0 2017-11-30 12:35:40 -05:00
.appveyor.yml improve Windows build 2018-02-07 18:16:21 -05:00
.gitattributes Added .gitattributes file. 2013-04-25 00:06:51 +08:00
.gitignore Re-write toolboxClasspath to use sbt-buildinfo 2018-02-23 13:20:19 +00:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -05:00
.scalafmt.conf Add back, re-configure & re-enable Scalafmt 2017-08-10 16:35:23 +01:00
.travis.yml start an instance of sbt in the background 2018-02-07 17:49:22 -05:00
CONTRIBUTING.md cleanCache 2018-02-21 15:08:10 -05:00
ISSUE_TEMPLATE.md Add prompt for sbt version in the issue template 2017-06-04 11:47:21 +02:00
LICENSE Add, configure & enforce file headers 2017-10-05 09:03:40 +01:00
NOTICE Add, configure & enforce file headers 2017-10-05 09:03:40 +01:00
PULL_REQUEST_TEMPLATE.md Add "Clean history" to contributing with links 2016-02-19 13:21:11 +00:00
README.md Merge branch '1.0.x' into add-gitter-badge 2017-06-03 06:11:33 +02:00
build.sbt Re-write toolboxClasspath to use sbt-buildinfo 2018-02-23 13:20:19 +00:00
reset.sh 1.0.3-SNAPSHOT 2017-09-16 15:52:58 -04:00
sbt-allsources.sh Bump underlying modules to latest 2017-03-23 12:41:24 -04:00
server.md setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00

README.md

Gitter Chat

sbt

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

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

sbt 1.0.x

This is the 1.0.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/util hosts a collection of internally used modules.
  • 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.