Commit Graph

10242 Commits

Author SHA1 Message Date
kczulko e9fa4201fb Fix review issue. Add 't.restore' before function call. 2017-09-14 09:34:06 +02:00
Dale Wijnand da40288d6f Merge pull request #3517 from dwijnand/run-cp-dirs
Fix run's support of directories in the classpath
2017-09-13 16:07:36 +01:00
Dale Wijnand 3cb281945e
Alias when strings are a scala version 2017-09-13 16:03:51 +01:00
Dale Wijnand 930fac2a78
Restrict switchScalaVersion `projects` to just ResolvedReference's 2017-09-13 16:03:51 +01:00
Dale Wijnand 936733b2b1
Cleanup 2017-09-13 16:03:51 +01:00
Guillaume Bort b355aa66e4 Sbt server could miss some messages
If the read buffer contains more that 2 messages, we need to consume them all before blocking on socket read again. For that we have to loop until the buffer does not contain anymore the message delimiter character.

Same problem in the client ServerConnection code.
2017-09-13 13:18:38 +02:00
Dale Wijnand 103e40882f
Fix run's support of directories in the classpath
Fixes #3504
2017-09-13 10:21:41 +01:00
Dale Wijnand 53e41a0045
Dedup defining bgRun/bgRunMain 2017-09-13 10:21:40 +01:00
Dale Wijnand 363966da28 Merge pull request #3522 from eed3si9n/wip/travis2
Undo _JAVA_OPTIONS enrivonment variable
2017-09-13 10:12:30 +01:00
Eugene Yokota 97e1049d57 Undo _JAVA_OPTIONS enrivonment variable
Ref sbt/sbt#3520

This undoes the environment variable addedin 2017-09-06 update of Travis CI:
https://docs.travis-ci.com/user/build-environment-updates/2017-09-06/
2017-09-12 21:29:40 -04:00
eugene yokota cedb902d17 Merge pull request #3513 from dwijnand/allow-late-settingkey-evals
Don't warn on by-name keys
2017-09-12 14:22:58 -04:00
Dale Wijnand d3d105515a
Don't warn on by-name keys
.. which is apparently what the type of bare vals in *.sbt files are.

Fixes #3299, again.
2017-09-11 14:46:33 +01:00
Dale Wijnand 8d9a3a35d2
Fix warnings in TaskLinterDSL.scala 2017-09-11 14:45:40 +01:00
Dale Wijnand 498ef3652b
Set version to 1.0.2-SNAPSHOT 2017-09-11 14:45:14 +01:00
kczulko b6a3ca1937 Fix for text echo issue when running sbt. 2017-09-11 11:49:10 +02:00
eugene yokota 277413ef7a Merge pull request #3511 from eed3si9n/wip/lm
lm 1.0.1
2017-09-10 15:53:46 -04:00
Eugene Yokota 01e8f609e8 lm 1.0.1 2017-09-10 14:13:51 -04:00
Martynas Mickevičius 58947bfec6 Use sbt-compat lib 2017-09-07 17:04:59 +02:00
eugene yokota f11b1e086f Merge pull request #3487 from cunei/wip-3419
deliver task fixes
2017-08-31 23:40:45 -04:00
Antonio Cunei 8b187147ef Add makeIvyXml, as a more sensibly-named alternative to deliver 2017-09-01 00:38:04 +02:00
Antonio Cunei c35220c32f Add makeIvyXmlConfiguration, restore deliver to 0.13 behavior 2017-09-01 00:38:04 +02:00
eugene yokota 34945af631 Merge pull request #3483 from sbt/1.0.x
Merge 1.0.1 to 1.x
2017-08-31 13:04:57 -04:00
Johannes Rudolph 0e20a090f3 half-broken initial attempt at sbt 1.0.0 support 2017-08-29 16:48:27 +02:00
eugene yokota 380121f0b4 Merge pull request #3480 from eed3si9n/wip/notes2
1.0.1 notes
2017-08-28 13:24:53 -04:00
Eugene Yokota 2a014781d6 Mention #3481 2017-08-28 13:23:53 -04:00
eugene yokota c951b38fea Merge pull request #3481 from eed3si9n/wip/revert_bad_fport
Revert "Automatically choose proper compiler bridge for dotty"
2017-08-28 13:20:50 -04:00
Eugene Yokota aaf259f4fd Revert "Automatically choose proper compiler bridge for dotty"
This reverts commit 2283c68031.
2017-08-28 12:12:09 -04:00
Eugene Yokota dd58299472 Fix typo 2017-08-28 12:01:47 -04:00
Eugene Yokota 6c6abc3ae6 1.0.1 notes 2017-08-28 11:54:59 -04:00
eugene yokota cba6f83447 Merge pull request #122 from tom-walford/1.x
Cleaned up the deprecation messages to point to the correct classes.
2017-08-28 11:43:29 -04:00
eugene yokota 7edc5c47c8 Merge pull request #123 from eed3si9n/wip/dontformatsbt
Don't format *.sbt files
2017-08-28 11:42:34 -04:00
eugene yokota 14249e8548 Merge pull request #125 from sbt/1.0.x
Merge 1.0.x to 1.x
2017-08-28 11:42:09 -04:00
eugene yokota 8412f0254b Merge pull request #3478 from eed3si9n/wip/bump_io
WatchSource = sbt.internal.io.Source
2017-08-28 11:02:08 -04:00
Eugene Yokota afd5ff03f8 WatchSource = sbt.internal.io.Source
Ref #3438
2017-08-28 00:56:27 -04:00
eugene yokota 6202015335 Merge pull request #3477 from eed3si9n/wip/runissue
Forward `run` task to `bgRun`
2017-08-27 16:13:25 -04:00
Eugene Yokota c6782f4b55 Fix project/flatten 2017-08-27 03:00:12 -04:00
Eugene Yokota 9003ed4fac Capture errors thrown inside `bgRun`
This captures non-fatal errors in `bgRun` background thread, so if needed we can re-throw it for `run`.
2017-08-27 02:59:50 -04:00
Eugene Yokota b6f2fe7654 Forward `run` task to `bgRun`
Fixes #3425

The `Compile`-specific `run` task was removed in #2936 in favor of `bgRun` but it stop short of delegating the `run` to `bgRun`.
2017-08-26 16:49:29 -04:00
eugene yokota 88f3d43b87 Merge pull request #3475 from eed3si9n/wip/use_sbt1
Use sbt 1.0.0
2017-08-26 16:38:12 -04:00
Eugene Yokota 0e77d9f8a2 Merge branch 'wip/npe' into wip/use_sbt1 2017-08-26 15:37:19 -04:00
Eugene Yokota c562a17358 Split the source-dependencies tests 2017-08-26 15:35:34 -04:00
Eugene Yokota 12be2e28a6 Use sbt 1.0.0 2017-08-26 14:40:58 -04:00
eugene yokota 0df4034a74 Merge pull request #124 from eed3si9n/wip/use_sbt1
Use sbt 1.0.0
2017-08-26 13:37:51 -04:00
Eugene Yokota 32412e4625 Use sbt 1.0.0 2017-08-26 13:13:04 -04:00
Eugene Yokota c74d397cd7 Bump Util for NPE fix attempt
Ref sbt/util#119
2017-08-26 01:39:51 -04:00
Eugene Yokota a088169568 Don't format *.sbt files
This adds update on load, which interacts badly with +compile.
2017-08-25 17:14:41 -04:00
tom.walford 83433d40e6 Cleaned up the deprecation messages to point to the correct classes. 2017-08-25 20:47:36 +01:00
eugene yokota 89b32ae93d Merge pull request #121 from eed3si9n/wip/npe
Attempt to solve the logger NPE issue
2017-08-25 15:19:18 -04:00
Eugene Yokota b2be0f766a Attempt to solve the logger NPE issue
Fixes sbt/util#119

1. perform the string codec registration once.
2. add retries.
2017-08-25 12:01:34 -04:00
Eugene Yokota f74e3e66f1 Trying to reproduce sbt/util#119 2017-08-24 17:51:50 -04:00