Commit Graph

17940 Commits

Author SHA1 Message Date
Eugene Yokota b631dffed6 Support whitespace after --sbt-script
`=` gets treated as a whitespace in batch, so it would be good to support whitespace.
2020-09-20 22:07:08 -04:00
eugene yokota 350f5497c6
Merge pull request #5875 from eatkins/watch-bad-input
Don't stop watch input thread on bad input
2020-09-20 22:00:52 -04:00
Eugene Yokota 6ebbbe5e0a sbt.cmd -> sbt.bat 2020-09-20 21:31:55 -04:00
eugene yokota 80f8323234
Merge pull request #328 from eed3si9n/wip/sbtn
sbtn support
2020-09-20 21:21:56 -04:00
Eugene Yokota 8559b0ece7 Exclude sbtn from RPM file 2020-09-20 21:02:55 -04:00
Eugene Yokota e880829762 Use the real sbt 2020-09-20 20:15:35 -04:00
eugene yokota 923ae57c1c
Merge pull request #5873 from eatkins/supershell-batch-fix
Don't display progress in skip tasks in batch mode
2020-09-20 19:52:34 -04:00
Ethan Atkins 1e448bb403 Don't stop watch input thread on bad input
In a continuous build in sbt 1.4.0-RC1, if the user enters an invalid
option, it causes the input thread to exit which means the watch would
no longer accept input commands (including <enter> to exit). This fixes
that behavior.
2020-09-20 16:31:27 -07:00
Ethan Atkins 41afe9fbdb Don't display progress in skip tasks in batch mode
In sbt 1.4.0-RC1, if a user ran `sbt console`, the progress lines would
be printed after they had entered the console. This was because the
prompt state was incorrect. To get the prompt in the correct state, we
initialize the prompt to batch and then switch to pending when either
sbt enters the shell or the network client attaches in interactive mode.
We also will now immediately print progress as soon as we enter a skip
task to clear out the progress lines and display the warning about a
running task if there is another client connected while the task is
running.
2020-09-20 15:36:42 -07:00
eugene yokota cc0445db4e
Merge pull request #5871 from eed3si9n/wip/build_improvements
Some new modules need to be cross published
2020-09-20 17:15:47 -04:00
Eugene Yokota 2def5ef636 sbtn support
Ref https://github.com/sbt/sbt/issues/5665

This implements `--client` option to use `sbt` script as the sbtn runner. The build user can also set the env variable `SBT_NATIVE_CLIENT` to `true`.

The script will attempt to parse `project/build.properties` and use sbtn only when it's sbt 1.4 or above.
2020-09-20 17:13:04 -04:00
Eugene Yokota 0ba3a03495 Some new modules need to be cross published 2020-09-20 15:02:09 -04:00
eugene yokota 50f44c7ac8
Merge pull request #326 from er1c/java9rtexport
Use java9rtexport library
2020-09-20 14:01:00 -04:00
eugene yokota 3ac3f8479c
Merge branch 'master' into java9rtexport 2020-09-20 13:34:58 -04:00
eugene yokota 78c04dae19
Merge pull request #330 from eed3si9n/wip/sbtversion
Bump 1.3 version used for testing
2020-09-20 13:33:30 -04:00
Eugene Yokota 2514a25013 Bump 1.3 version used for testing 2020-09-20 13:13:19 -04:00
eugene yokota 6934784b77
Merge pull request #329 from eed3si9n/wip/https
Use HTTPS
2020-09-19 22:45:14 -04:00
Eugene Yokota cfc8ca7d67 Use HTTPS 2020-09-19 22:18:49 -04:00
eugene yokota 870be12f41
Merge pull request #5862 from eatkins/success
Set isSuccessEnabled on SimpleTerminal
2020-09-19 01:13:09 -04:00
eugene yokota 908371ff5c
Merge pull request #5857 from adpi2/issue/full-paths
Report absolute paths by default during compilation
2020-09-19 01:12:26 -04:00
Adrien Piquerez 8b8745cb0b Fix completion 2020-09-17 14:23:28 +02:00
Adrien Piquerez 759392aaf0 Add BSP `buildTarget/run` test 2020-09-17 14:23:07 +02:00
Adrien Piquerez 9f04358fce Add BSP buildTarget/run endpoint 2020-09-17 13:40:50 +02:00
Adrien Piquerez 92fb69f370 Add BSP buildTarget/scalaMainClasses endpoint 2020-09-17 13:32:30 +02:00
Ethan Atkins c9e98c4cd5 Set isSuccessEnabled on SimpleTerminal
The SimpleTerminal is used when sbt is run with -Dsbt.log.noformat=true.
There is no reason to disable success messages by default.

Fixes https://github.com/sbt/sbt/issues/5861
2020-09-16 09:52:57 -07:00
Adrien Piquerez 3c24e9d29d Report absolute paths by default 2020-09-16 11:12:12 +02:00
eugene yokota 3bee2cff9a
Merge pull request #5854 from eatkins/jline-reader
Use DumbTerminal if sbt.log.noformat=true
2020-09-15 16:45:04 -04:00
eugene yokota 18d9348905
Merge pull request #340 from izharahmd/wip/ivy-publish-with-retry-backoff
Retry with backoff while publishing
2020-09-15 16:34:23 -04:00
eugene yokota 3923d52c18
Merge pull request #5855 from eatkins/symlinks
Skip contents of symlinked directories in clean
2020-09-15 16:08:18 -04:00
Ethan Atkins a946cbf702 Skip contents of symlinked directories in clean
The clean task was previously deleting the contents of directories that
were symlinked into the target directory. This was an oversight because
it never occurred to me that users might symlink a directory whose
contents they did not want deleted into the target directory.
2020-09-15 09:24:04 -07:00
Ethan Atkins 334146f541 Use DumbTerminal if sbt.log.noformat=true
When sbt is run with the sbt.log.noformat system property set to true,
no virtual io is used which causes the jline 3 terminal that we creaate
to not work at all. For reasons that I don't understand, it is also
necessary to set the jline.terminal system property to none to make the
dumb terminal work.
2020-09-15 09:10:21 -07:00
Alexandre Archambault 735e71518f
Update README.md 2020-09-15 17:34:46 +02:00
izharahmd fa0f859552 retry with backoff while publishing 2020-09-15 20:32:38 +05:30
Alexandre Archambault f8c75d7033 Address deprecation warning 2020-09-15 11:36:11 +02:00
Alexandre Archambault 90f44bc5cc Deprecated temporary helper 2020-09-15 11:36:11 +02:00
Alexandre Archambault 29d957604e Make dependency-graph scripted test Windows-proof 2020-09-15 11:36:11 +02:00
Alexandre Archambault a7acf35d0c Use latest coursier and sbt-coursier on CI
Seems older coursier versions frequently run into errors like

    C:\Users\...\AppData\Local\Coursier\cache\v1\.structure.lock (Access is denied)
2020-09-15 11:33:20 +02:00
Alexandre Archambault a945f5b9fa Bump metadata submodule
The latest one has a more recent default coursier launcher
2020-09-15 11:33:20 +02:00
Alexandre Archambault 4ca3b89bc1 Remove now unused sbt-shading stuff in script 2020-09-15 11:33:20 +02:00
Alexandre Archambault 2c0c9153f5 Switch CI over to GitHub Actions 2020-09-15 11:33:20 +02:00
eugene yokota 70111bb689
Merge pull request #5851 from eed3si9n/wip/bumpcoursier
lm-coursier-shaded 2.0.0-RC6-9
2020-09-14 23:58:36 -04:00
Eugene Yokota 72acc5ce74 lm-coursier-shaded 2.0.0-RC6-9
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-9
2020-09-14 22:44:16 -04:00
eugene yokota 66308bae45
Merge pull request #5847 from eed3si9n/wip/promise_propagate
Cancel all promises if one fails
2020-09-14 22:33:18 -04:00
eugene yokota f033aa5ca1
Merge pull request #5844 from eed3si9n/wip/pipelining_adjustments
Fix mixed pipelining
2020-09-14 22:32:48 -04:00
Alexandre Archambault bbaf162e39 Rename script 2020-09-14 16:00:29 +02:00
Alexandre Archambault 81e4d67fa9 Remove unnecessary variable 2020-09-14 16:00:29 +02:00
Scala Steward 42ac1e48ab
Update coursier to 2.0.0-RC6-26 (#268) 2020-09-14 15:58:19 +02:00
Alexandre Archambault cc0643e71b
Remove sbt-pgp-coursier (#269) 2020-09-14 14:13:11 +02:00
eugene yokota 75da49556c
Merge pull request #5838 from adpi2/bsp-reload
Add BSP workspace/reload
2020-09-14 08:08:14 -04:00
Adrien Piquerez ac85117841 Add BSP workspace/reload 2020-09-14 13:10:11 +02:00