Commit Graph

550 Commits

Author SHA1 Message Date
eugene yokota 7540fac248
Merge pull request #295 from azolotko/5135-detect-more-memory-settings
Detect more memory settings
2019-09-30 15:35:24 -04:00
Alex Zolotko 1ac4c7400a Detect more memory settings
Fixes sbt/sbt#5135
2019-09-30 13:40:04 +02:00
eugene yokota 91146a2d9d
Merge pull request #293 from er1c/travis
Fix No compatible version found for adopt@1.8.212-04
2019-09-28 15:49:15 -04:00
Eric Peters a114398c71 Fix No compatible version found for adopt@1.8.212-04 2019-09-28 06:59:34 -07:00
eugene yokota 23e0f6ebee
Merge pull request #291 from eed3si9n/wip/v
--verbose mode for Windows
2019-09-25 11:20:21 -04:00
eugene yokota dba0e5c82f
Merge pull request #290 from eed3si9n/wip/quote2
Fix equal sign handling for -D
2019-09-25 11:18:05 -04:00
Eugene Yokota 8caa28b57b --verbose mode for Windows 2019-09-25 07:45:16 +01:00
Eugene Yokota 98efb989db Fix equal sign handling for -D
Fixes sbt/sbt#2695
By the time the arguments are passed to a batch script,
it seems like  is parsed away.
for /F did not work since it would not handle double quoted
paths that include whitespaces.
This adds special handling for -D parameters only.
2019-09-25 06:57:07 +01:00
eugene yokota 9fc62e5ef5
Merge pull request #288 from er1c/versions
Add --numeric-version, --script-version, and update --version to print both versions
2019-09-24 21:03:35 -04:00
Eric Peters 56cdfcaa90 Add --numeric-version, --script-version, and update --version to print both versions 2019-09-24 16:55:57 -07:00
eugene yokota b248d5da60
Merge pull request #289 from jsoref/to_be_replaced
Fix _to_be_replaced
2019-09-24 14:50:38 -04:00
Josh Soref f06e7e638e
Set posix +x
Co-Authored-By: Eric Peters <eric@peters.org>
2019-09-24 12:31:18 -04:00
Josh Soref 07814bc576 Fix _to_be_replaced 2019-09-23 18:08:29 -04:00
eugene yokota 7a51eda367
Merge pull request #286 from er1c/man
Update sbt.1 man page options
2019-09-23 12:37:02 -04:00
Eric Peters 7e17407cba Update sbt.1 man page options 2019-09-23 08:30:51 -07:00
eugene yokota e0f7a421b7
Merge pull request #284 from eed3si9n/wip/ci
Remove Travis CI customization
2019-09-22 19:20:03 -04:00
Eugene Yokota 4dc6bb788e check that Linux output doesn't contain any junk 2019-09-22 19:04:03 -04:00
Eugene Yokota 0a09fa62ed SBT_ETC_FILE
Travis CI adds `/etc/sbt/sbtopts` that prevents us from testing the out-of-box behavior. This allows us to override the location.
2019-09-22 18:07:28 -04:00
Eugene Yokota 7636a47c94 Ignore upload cookies 2019-09-22 15:50:31 -04:00
Eugene Yokota 261ddc3c38 Remove appveyor setting 2019-09-22 15:50:18 -04:00
eugene yokota 95813bd819
Merge pull request #283 from eed3si9n/wip/vfix
Fix -v getting on all the time
2019-09-20 12:49:00 -04:00
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