Commit Graph

5931 Commits

Author SHA1 Message Date
Dale Wijnand 98332c0891
Reply to sbt/exec w/ a Response/Error w/ error code 2018-03-14 13:56:29 +00:00
Dale Wijnand bde6365013
Add an optional exitCode to ExecStatusEvent so clients can use it 2018-03-14 11:56:51 +00:00
Dale Wijnand 7baf97d2a6
Introduce ErrorCodes.UnknownError
Defined in the application defined errors range.
2018-03-14 11:56:51 +00:00
Dale Wijnand 3530349e9a
Rename ErrorCodes' UnknownErrorCode to UnknownServerError
Allows for a non-server-specific unknown error code to be defined.
2018-03-14 11:56:50 +00:00
Dale Wijnand 8972287892
Cleanup ErrorCodes 2018-03-14 11:56:29 +00:00
Dale Wijnand dd4de14593
Upgrade to contraband 0.4.0 2018-03-12 15:39:07 +00:00
Dale Wijnand ed5a8c118b
Upgrade to contraband 0.3.3 2018-03-08 12:49:38 +00:00
eugene yokota 27bbde810d
Merge pull request #3970 from retronym/ticket/3737
Use Java's redirectInput rather than sys.process's connectInput
2018-02-28 04:14:05 -05:00
eugene yokota 083dd8cad8
Merge pull request #3967 from dwijnand/buildinfo
Upgrade to sbt-buildinfo 0.8.0
2018-02-28 02:13:01 -05:00
Jason Zaugg b0f52510e0 Use Java's redirectInput rather than sys.process's connectInput
Fixes #3737
2018-02-26 11:30:30 +10:00
Dale Wijnand 27fe5a6957
Re-write toolboxClasspath to use sbt-buildinfo 2018-02-23 13:20:19 +00:00
Dale Wijnand 8182741480
Cleanup generateToolboxClasspath 2018-02-23 13:19:07 +00:00
Dale Wijnand edb828a8d7
Upgrade to sbt-buildinfo 0.8.0 2018-02-23 13:19:05 +00:00
Dale Wijnand c7cc52092e
Fix how fullClasspath is defined in TestBuildInfo 2018-02-23 13:17:51 +00:00
xuwei-k c1e0785a1f
delete buildinfo.BuildInfo from sbt main
sbt-buildinfo plugin have `buildInfoScopedSettings(Compile)` in default.
I think it is unnecessary. or we should set "buildinfoPackage in Compile" and "buildinfoObject in Compile"

https://github.com/sbt/sbt-buildinfo/blob/v0.7.0/src/main/scala/sbtbuildinfo/BuildInfoPlugin.scala#L11
2018-02-22 16:46:58 +00:00
eugene yokota 9a5b7bcf6d
Merge pull request #3960 from eed3si9n/wip/contributing
update CONTRIBUTING
2018-02-21 15:09:09 -05:00
Eugene Yokota 0e1823d730 cleanCache 2018-02-21 15:08:10 -05:00
Eugene Yokota 594738bb9c add publishLocalAllModule command 2018-02-21 02:28:33 -05:00
Eugene Yokota 72f3289b55 update CONTRIBUTING
Fixes #3950
2018-02-21 00:25:47 -05:00
Dale Wijnand 7dcb311301
Merge pull request #3944 from dwijnand/versions
Update mimaPreviousArtifacts/sbt.version
2018-02-14 14:37:06 +00:00
Dale Wijnand e8d1a30474
Update mimaPreviousArtifacts/sbt.version 2018-02-14 10:53:37 +00:00
Dale Wijnand 8546fc7ea6
Merge pull request #3932 from dwijnand/max-socket-length
Handle very long socket file paths on UNIX
2018-02-13 07:36:15 +00:00
Dale Wijnand 4e038c91ce
Introduce SBT_GLOBAL_SERVER_DIR env var to override too long paths 2018-02-12 17:57:26 +00:00
eugene yokota 2c0b953321
Merge pull request #3936 from eed3si9n/wip/notes
sbt 1.1.1 notes
2018-02-09 23:36:05 -05:00
Eugene Yokota 15018c1971 notes 2018-02-09 23:33:08 -05:00
Dale Wijnand 638dbeb84c
Merge pull request #3933 from dwijnand/ServerSpec-Codacy2
Fix another Codacy issue in ServerSpec
2018-02-09 12:38:27 +00:00
Dale Wijnand 4c765e0e93
Merge pull request #3927 from sbt/sbt-boot-lock-sysprop
Adds sbt.boot.lock sysprop to opt-out
2018-02-09 12:37:54 +00:00
Eugene Yokota 39d9927179 1.1.2-SNAPSHOT 2018-02-08 13:08:32 -05:00
Eugene Yokota 4da6a8952b 1.1.1 launchconfig 2018-02-08 13:08:21 -05:00
Dale Wijnand 74ff6aa1ce
Fix another Codacy issue in ServerSpec 2018-02-08 14:16:54 +00:00
Dale Wijnand 402378a81e
Adds sbt.boot.lock sysprop to opt-out
Adds sbt.boot.lock as a system property to opt-out of locking.

This might be useful when running on filesystems on which the locking code path would throw an exception.

Upstream issue: https://bugs.openjdk.java.net/browse/JDK-8193594
Provides a workaround for #2222, thus...
Closes #2222.
2018-02-08 13:02:39 +00:00
Dale Wijnand 8e7dfb4b20
Handle very long socket file paths on UNIX
Fixes #3930
2018-02-08 13:00:46 +00:00
Dale Wijnand d75d95d653
Merge pull request #3931 from eed3si9n/wip/bump
Zinc 1.1.1, LM 1.1.3, IO 1.1.4
2018-02-08 07:31:35 +00:00
Eugene Yokota 7df32cff84 Zinc 1.1.1, LM 1.1.3, IO 1.1.4 2018-02-08 01:06:09 -05:00
eugene yokota 4a8adbb8e0
Merge pull request #3923 from dwijnand/PluginCross-scala-versions
Upgrade Scala versions that ^^ uses
2018-02-07 22:02:10 -05:00
eugene yokota 54eb6c2d6b
Merge pull request #3929 from eed3si9n/wip/servertest2
Backport server testing as a unit test
2018-02-07 21:18:35 -05:00
eugene yokota bd1532eb4b
Merge pull request #3922 from swaldman/suppressServer
Implement a suppressServer setting for high-security builds
2018-02-07 19:25:23 -05:00
Dale Wijnand 639ee220dc Fix Codacy issue in ServerSpec 2018-02-07 18:17:00 -05:00
Eugene Yokota 23cdfd8369 improve Windows build 2018-02-07 18:16:21 -05:00
Eugene Yokota 3954985506 formatting 2018-02-07 18:16:02 -05:00
Eugene Yokota 5ab122c3cf Use State to pick the port file 2018-02-07 18:00:02 -05:00
Eugene Yokota bd0e44c292 start an instance of sbt in the background 2018-02-07 17:49:22 -05:00
Eugene Yokota a2347332ab Use ipcsocket 2018-02-07 17:46:23 -05:00
Steve Waldman 96b9429669 Rework false-defaulting 'suppressServer' to true-defaulting 'autoStartServer'. 2018-02-06 11:49:46 -08:00
Dale Wijnand 2db5c77442
Upgrade Scala versions that ^^ uses
Refs #3907
2018-02-06 16:02:45 +00:00
Steve Waldman 9601668199 Add a note describing the suppressServer feature. 2018-02-05 23:37:46 -08:00
Steve Waldman 0aa133d276 Implement 'suppressServer' setting, for builds and plugins that prefer to be conservative about exposure to other processes. 2018-02-05 23:11:42 -08:00
eugene yokota cbf7d92488
Merge pull request #3910 from cunei/wip-fix-fork-parallel
Allow the full tests/fork-parallel to pass on less than four cores
2018-01-30 22:30:27 -05:00
Antonio Cunei c310ade9f8 Allow the full tests/fork-parallel to pass on less than four cores
The test will be meaningless on less than four cores, but the
scripted test will pass. On four or more cores, the test wil
test testForkedParallel as expected.

Closes #3545
2018-01-30 23:59:37 +01:00
eugene yokota 5d89795657
Merge pull request #3876 from eed3si9n/wip/jlineinit
Fix tab completion running `sbt console`
2018-01-22 14:14:35 -05:00