Commit Graph

529 Commits

Author SHA1 Message Date
Eugene Yokota 989136debf Fix -v getting on all the time
Fixes https://github.com/sbt/sbt/issues/5108

I messed up in 91b71b39d3 by initializing the variable to 0.
2019-09-20 10:36:16 -04:00
eugene yokota 577cdb856d
Merge pull request #282 from eed3si9n/wip/gc
Drop -XX:+UseParallelGC
2019-09-19 16:15:11 -04:00
Eugene Yokota 91a639ff77 Drop -XX:+UseParallelGC
Fixes https://github.com/sbt/sbt/issues/5045

Currently we set `-XX:+UseParallelGC` for JDK greater than 9. This isn't a great default because while the peak throughput is somewhat better than the default g1 collector, the worst case performance is really bad with UseParallelGC, especially when the heap size is large.

Given the sudden diversification of JDK implementations, we should stay clear from `-XX` flags, and let the build users add them if they must.
2019-09-17 23:32:06 -04:00
eugene yokota 6db0ec1a12
Merge pull request #281 from anilkumarmyla/fix_double_dashes
Capture double dashes in process args
2019-09-14 14:45:42 -04:00
Anil Kumar Myla 8affb84ff7
Add integration tests 2019-09-13 23:11:48 -07:00
Anil Kumar Myla 2946025d75
Capture double dashes in process args 2019-09-13 19:56:39 -07:00
eugene yokota b24ec386ab
Merge pull request #280 from kingslef/fix/java-args-with-spaces
universal/bin/sbt: enclose arrays in quotes
2019-09-13 09:50:01 -04:00
Tuomas Lappeteläinen 5165b9fd51 universal/bin/sbt: enclose arrays in quotes
Fixes https://github.com/sbt/sbt/issues/5076. Arrays should be enclosed in
quotes, or otherwise elements with spaces will be broken, e.g. `-Dfoobar="foo
bar"` will become `-Dfoobar=foo` and `bar`.
2019-09-13 12:19:39 +03:00
eugene yokota 3181b291ba
Merge pull request #279 from eed3si9n/wip/travis
Fix -XX:MaxPermSize getting emitted for JDK 11
2019-09-05 23:45:27 -04:00
Eugene Yokota b629c92391 Fix -XX:MaxPermSize getting emitted for JDK 11
Fixes sbt/sbt#5031
2019-09-05 23:09:59 -04:00
Eugene Yokota 91b71b39d3 Reproduce JDK 11 warning
Ref https://github.com/sbt/sbt/issues/5031
2019-09-05 22:53:03 -04:00
Eugene Yokota 06cece1733 Add names to the Travis CI jobs 2019-09-05 16:03:14 -04:00
Dale Wijnand 030b6e8283
Fix typo in no-new-issues.md 2019-08-03 08:33:10 +01:00
Dale Wijnand 458ddd0e94
Update no-new-issues.md 2019-08-03 08:32:45 +01:00
Dale Wijnand 01e9cfee02
Merge pull request #278 from sbt/no-new-issues-template
No new issues template
2019-08-03 08:32:10 +01:00
Dale Wijnand 796e5d6ef8 Update issue templates 2019-08-03 08:31:38 +01:00
eugene yokota 10693a800a
Merge pull request #276 from exoego/fix-4833-print-sbtVersion
Add -V|-version to print sbtVersion.
2019-07-19 23:09:36 -04:00
exoego c57c950e92 Improve message since sbtVersion may vary for different projects 2019-07-20 10:42:24 +09:00
eugene yokota c033559e1c
Merge pull request #272 from gladiac1337/fix-sbt-bat
Add --java-home and fix JVM_DEBUG in sbt.bat
2019-07-19 18:55:01 -04:00
exoego 88976ad23f Print only the last line containig sbt version 2019-07-18 16:47:22 +09:00
exoego 16f5b638df Add -V|-version to print sbtVersion. 2019-07-18 16:23:14 +09:00
eugene yokota 34d17d8573
Merge pull request #274 from eed3si9n/wip/traviswindows
Windows
2019-07-16 18:04:16 -04:00
Eugene Yokota 3cd702af9f Windows 2019-07-16 17:38:58 -04:00
Christian Lachner 4a61c27538 Add --java-home to sbt.bat
In contrast to the unix version of the sbt launcher, the windows
version lacks the functionality of specifying JAVA_HOME via launch
parameters. This commit adds the missing --java-home parameter to
sbt.bat.
2019-06-30 14:14:57 +02:00
Christian Lachner 53f847d703 Fix JVM_DEBUG in sbt.bat
JVM_DEBUG was broken due to a copy-pasta error in sbt.bat. This
commit corrects the value assignment to the variable and therefore
fixes the problem.
2019-06-30 11:19:18 +02:00
eugene yokota 08a489450b
Merge pull request #270 from eed3si9n/wip/realpath
Reinstate realpath
2019-05-30 01:27:34 -04:00
Eugene Yokota 79e13bb39c Reinstate realpath
Fixes #269
Ref #149

There were two implementations of `realpath`-like things the scripts. One in `sbt` called `realpath` contributed in #27, and another using ls in sbt-launch-lib.bash that I added in #155 because at some point I got confused by the fact macOS doesn't have [realpath(1)](https://linux.die.net/man/1/realpath).

In #257 `sbt` and `sbt-launcher-lib.bash` were merged and the emulated `realpath` was removed.

dcsobral noticed this and raised #269. This commit reinstates the emulated `realpath` as `realpathish` to avoid the future confusion, and removes the inferior version that uses `ls`.

Co-authored-by: Bart Schuller <schuller@lunatech.com>
Co-authored-by: Eugene Yokota <eed3si9n@gmail.com>
2019-05-29 17:05:34 -04:00
eugene yokota 9956a676ab
Merge pull request #268 from eed3si9n/wip/opts
Update Java options
2019-05-23 13:35:10 -04:00
Eugene Yokota f94dc1a9ed no more warnings 2019-05-23 12:42:19 -04:00
Eugene Yokota 8015e9f1a9 Remove reference to get_mem_opts 2019-05-22 23:40:10 -04:00
Eugene Yokota bd32204c21 Bump stack size
Ref https://github.com/scala/bug/issues/10870
2019-05-22 23:38:50 -04:00
Eugene Yokota 8a3a7c2b7d Remove MaxMetaspaceSize
Ref https://github.com/sbt/sbt/issues/4686
2019-05-22 23:36:52 -04:00
Eugene Yokota e39a139042 Remove -XX:MaxPermSize out of Windows default
Fixes #223
2019-05-22 17:32:13 -04:00
Eugene Yokota 05ea7eedc5 whitespace fix 2019-05-22 17:22:03 -04:00
eugene yokota a85b486b4c
export repo using Coursier (#267)
export repo using Coursier

Ref https://github.com/sbt/sbt/issues/4661
2019-05-15 10:52:39 -04:00
eugene yokota 77ad65ed73
Merge pull request #266 from eed3si9n/wip/export-repo
Fix dangling ivy.xml without JAR files
2019-05-10 21:54:05 -04:00
eugene yokota bf22cd4696
Merge pull request #265 from cia-rana/master
Fix typo in execRunner()
2019-05-10 00:15:16 -04:00
cia-rana c94af60119 Fix typo in execRunner() 2019-05-10 12:19:28 +09:00
Eugene Yokota 2914a97c58 Fix dangling ivy.xml without JAR files
Fixes #250
Ref https://github.com/sbt/sbt/issues/4661
Ref https://github.com/sbt/sbt-export-repo/pull/1
2019-05-09 23:17:22 -04:00
eugene yokota 5efa7d5947
Merge pull request #264 from eed3si9n/wip/map
expand -no-colors alias in SBT_OPTS
2019-05-09 01:59:32 -04:00
Eugene Yokota 88dc416932 expand -no-colors alias in SBT_OPTS
Fixes #260

This expands the JVM flag aliaes in SBT_OPTS, so `-no-colors` etc would work.
2019-05-09 01:13:45 -04:00
eugene yokota ac195fe7c5
Merge pull request #263 from eed3si9n/wip/delete
Delete sbt-launch-lib.bash
2019-05-08 22:39:25 -04:00
Eugene Yokota ffd80f5144 Delete sbt-launch-lib.bash
The bash files were already merged in #257
2019-05-08 18:33:38 -04:00
eugene yokota 4b62e291d5
Merge pull request #259 from eed3si9n/wip/options
add options for timings, traces, supershell, and color
2019-04-05 12:26:38 -04:00
Eugene Yokota a47004e01e add options for timings, traces, supershell, and color
`--supershell=*` will pass on to `-Dsbt.supershell=*`.
2019-04-05 11:30:59 -04:00
Eugene Yokota 56f09ef1ec support GNU style double dash options 2019-04-05 10:20:52 -04:00
eugene yokota e1aaeb907c
Merge pull request #258 from eed3si9n/wip/license
Apache License 2.0
2019-04-05 09:52:25 -04:00
Eugene Yokota fddd10e663 Readme 2019-04-05 09:27:29 -04:00
Eugene Yokota f3e7aa0089 Apache License 2.0 2019-04-05 09:25:06 -04:00
eugene yokota 57ab435306
Merge pull request #257 from eed3si9n/wip/commandline
Default to -Dfile.encoding=UTF-8, and also fix -mem problem
2019-02-23 01:50:00 -05:00