Commit Graph

17940 Commits

Author SHA1 Message Date
veera venky e465aee36a Fix for #4191 (active.json should be removed on JVM shutdown)
Added a shutdown hook to clean up active.json file
2018-06-13 03:06:30 +05:30
xuwei-k e97451d812 fix adapted argument warning
https://travis-ci.org/sbt/util/jobs/373445819#L517

```
[warn] /home/travis/build/sbt/util/util-cache/src/main/scala/sbt/util/Input.scala:19:23: No automatic adaptation here: use explicit parentheses.
[warn]         signature: Using.apply[R](src: Source)(f: T => R): R
[warn]   given arguments: input, IO.utf8
[warn]  after adaptation: Using((input, IO.utf8): (java.io.InputStream, java.nio.charset.Charset))
[warn]     Using.streamReader(input, IO.utf8) { reader =>
[warn]                       ^
```
2018-06-11 13:11:51 +09:00
Mark Canlas 5fd774693c sort and indent about plugins output 2018-06-09 01:31:45 -04:00
Łukasz Wawrzyk f1951ce725 Got rid of multiple warnigns 2018-06-07 13:32:42 +02:00
Dale Wijnand 1d7b35bd67
Merge pull request #3766 from eatkins/hostname
Add warning for slow hostname lookups on OS X
2018-06-06 22:39:58 +01:00
Ethan Atkins 27e93601b5 Add warning for slow hostname lookups on OS X
I spent a lot of time debugging why it took 5 seconds to run tests each
time. It turns out that if the hostname is not set explicitly on os x,
then getaddrinfo takes 5 seconds to try (and fail) to resolve the dns
entry for the localhostname. This is easily fixed by setting the
hostname, but it is not at all easy to figure out that a slow hostname
lookup is the reason why tests are slow to start.

I don't know if this is a common issue on other platforms, so only issue
the warning on OS X.
2018-06-06 10:53:46 -07:00
Dale Wijnand f2f14582b1
Merge pull request #177 from eed3si9n/wip/npe_workaround
Fix OkHttp JavaNetAuthenticator with null check
2018-06-01 22:28:21 +01:00
Dale Wijnand 92067eb308
Merge pull request #217 from dkim/sbt-create
Exit if the current dir is definitely not an sbt dir and neither `-sbt-create` nor `new` was given
2018-06-01 10:14:33 +01:00
Jimin Hsieh 23b90f23a9 Use default path of `sbtopts` 2018-05-31 16:37:25 +08:00
eugene yokota 2848770f85
Merge pull request #4139 from eed3si9n/wip/discover-java-home
Cross JDK forking
2018-05-30 13:45:00 -04:00
Jimin Hsieh 5088697613 Add build status of AppVeyor 2018-05-30 23:20:09 +08:00
Jimin Hsieh 1277e55c29 Fix `sbt -help` throw `syntax error` 2018-05-30 22:58:45 +08:00
Jimin Hsieh 46783d0cf5 Update current `sbt -help` 2018-05-30 22:58:30 +08:00
Jimin Hsieh bc8ed20787 Show default sbt memory size: 1024m 2018-05-30 22:46:28 +08:00
Jimin Hsieh 67fec3812c Bump license year 2018-05-30 22:43:16 +08:00
Jimin Hsieh c91c7984c9 Bump sbt version 2018-05-30 22:43:16 +08:00
Eugene Yokota 9b7c224f93 use stringly-typed key so we can define it machine-wide 2018-05-30 00:59:12 -04:00
Eugene Yokota 72ebdeb199 jabba 0.10.1
https://github.com/shyiko/jabba/blob/master/CHANGELOG.md#0101---2018-05-07
Ref https://github.com/shyiko/jabba/issues/190
2018-05-30 00:16:27 -04:00
Eugene Yokota a7d85c8724 Formatting 2018-05-30 00:16:27 -04:00
Eugene Yokota 35e98f51fd Adjust to upstream change 2018-05-30 00:16:27 -04:00
Eugene Yokota 951eaa646f jabba 0.9.6 (no sudo)
Ref https://github.com/shyiko/jabba/issues/190
Bumping to jabba 0.9.6 fixes sporaditc permission issues.
2018-05-30 00:16:27 -04:00
Eugene Yokota 2da1aa61eb implement cross JDK forking
```
sbt:helloworld> java++ 10
[info] Reapplying settings...
sbt:helloworld> run
[info] Running (fork) Hello
[info] 10.0.1

sbt:helloworld> java++ 8
[info] Reapplying settings...

sbt:helloworld> run
[info] Running (fork) Hello
[info] 1.8.0_171
```
2018-05-30 00:16:27 -04:00
Eugene Yokota aff9e0110c Accept both 1.x and x for 1.1 to 1.8 2018-05-30 00:16:27 -04:00
Martynas Mickevičius c31583e4f8 Discovery of java homes 2018-05-30 00:16:27 -04:00
Dale Wijnand 17f5bc149e
Merge pull request #4175 from cunei/wip-fix4148
Fix for #4148 (SessionSettingsSpec intermittently fails)
2018-05-29 10:27:08 +01:00
Alexandre Archambault 6be2528df5
Fix typo (#862) 2018-05-28 19:29:58 +02:00
Antonio Cunei f2a7e1f1c3 Fix for #4148 (SessionSettingsSpec intermittently fails)
It turns out that `syntaxAnalyzer.UnitParser()` in global now also
needs to be synchronized. The alternative is adding `synchronizeNames = true`
in the global constructor, but that already proved unreliable in the
case of #3743 (see comment https://github.com/sbt/sbt/issues/3170#issuecomment-355218833)
2018-05-28 14:09:13 +02:00
eugene yokota 7e8e18b9fa
Merge pull request #4099 from eatkins/redundant
Handle managedSources writing into unmanaged source directories
2018-05-27 23:57:46 -04:00
eugene yokota b3042091db
Merge pull request #4174 from eed3si9n/wip/bump
IO 1.1.10 and Zinc 1.1.5
2018-05-27 23:24:06 -04:00
Eugene Yokota 833e61635e IO 1.1.10 and Zinc 1.1.5 2018-05-27 22:38:58 -04:00
eugene yokota e8b6bdc15b
Merge pull request #235 from OlegYch/fix-sftp
Fix sftp
2018-05-27 19:37:09 -04:00
Alexandre Archambault d48ac8c9a4
Merge pull request #861 from coursier/topic/update-readme
Update README
2018-05-25 13:48:01 +02:00
Alexandre Archambault 6de589ac9b Update version in README 2018-05-25 12:08:30 +02:00
Alexandre Archambault 7bae4d4728 Fix wrongfully updated versions in README 2018-05-25 12:08:30 +02:00
Alexandre Archambault b90b95a174 Remove deprecated roadmap section in README 2018-05-25 12:08:30 +02:00
Alexandre Archambault e62618f136 Update bootstrap example in README 2018-05-25 12:08:30 +02:00
Alexandre Archambault 97a92914f3 Add native bootstrap section in README 2018-05-25 12:08:29 +02:00
Alexandre Archambault a20ab8f6e7 Update launcher size in README
I guess it could be proguarded a bit now…
2018-05-25 12:08:29 +02:00
sullis 5504f21a1e sbt 1.1.5 (#860) 2018-05-24 16:44:02 +02:00
eugene yokota 7f808bd3a1
Merge pull request #4164 from alodavi/alodavi/improving_loading_settings_messaging
Improving loading settings messaging
2018-05-23 16:18:08 -04:00
alodavi 67efea6248 [alodavi/improving_loading_settings_messaging] logging file and project name instead of only file name 2018-05-23 17:20:41 +02:00
Aloisia Davì 9b5f44f1ea
Merge branch '1.x' into alodavi/improving_loading_settings_messaging 2018-05-23 17:08:50 +02:00
Dale Wijnand d8e27747d8
Merge pull request #4162 from holdenk/support-double-dash-for-logging-levels
Support -- for log levels
2018-05-23 12:13:23 +01:00
Dale Wijnand 807fc8035a
Merge pull request #4160 from ninjalama/1.1.x
Display first line of task/setting of multiline description
2018-05-23 12:12:08 +01:00
xuwei-k b3fd3ce7e4 fix procedure syntax 2018-05-23 13:15:49 +09:00
Alexandre Archambault 4ca019107f Add release notes for 1.1.0-M1 up to 1.1.0-M4 2018-05-22 09:19:03 +02:00
eugene yokota a6cd0fc994
Merge pull request #4171 from dwijnand/drop-kebabs
Drop deprecated write-sbt-version & notify-users-about-shell
2018-05-21 20:36:20 +02:00
Alexandre Archambault 1b09d1ac62 Setting version to 1.1.0-SNAPSHOT 2018-05-21 19:57:48 +02:00
Alexandre Archambault b926591133
Updates for 1.1.0-M4 2018-05-21 19:47:09 +02:00
Alexandre Archambault a2de5cf749 Setting version to 1.1.0-M4 2018-05-21 19:26:44 +02:00