Commit Graph

564 Commits

Author SHA1 Message Date
Eugene Yokota 00e5224fde Add debugging for -D parsing 2019-10-16 10:53:49 -04:00
Eric Peters 6ebad1cffc Add a test for -D arguments (e.g. -Dsbt.supershell=false) 2019-10-16 10:49:59 -04:00
Eugene Yokota 71a216c037 Fix -D with quotes
Fixe https://github.com/sbt/sbt/issues/5192
2019-10-16 10:48:11 -04:00
Eugene Yokota 546a8b8949 Fix verbose output for SBT_ARGS 2019-10-16 10:45:33 -04:00
eugene yokota cbe96663e2
Merge pull request #298 from sbt/eed3si9n-patch-1
Fix typo around continue/quit
2019-10-15 12:51:49 -04:00
eugene yokota ab001f5597
Fix typo around continue/quit
Fixes https://github.com/sbt/sbt/issues/5188
2019-10-15 12:21:07 -04:00
eugene yokota d43357144b
Merge pull request #297 from eed3si9n/wip/bump
bump JAnsi
2019-10-14 10:29:14 -04:00
Eugene Yokota c2bac898df bump JAnsi 2019-10-14 02:59:34 -04:00
eugene yokota 2c8fc74aec
Merge pull request #296 from er1c/debug-inc-usage
Add usage for --debug-inc to bash sbt, add impl to sbt.bat
2019-10-11 23:27:47 +02:00
Eric Peters f3b9d7572e Add usage for --debug-inc to bash sbt, add impl to sbt.bat 2019-10-11 09:49:43 -07:00
eugene yokota 4f7d84d999
Merge pull request #285 from er1c/sbt-bat
Update sbt.bat to match bash sbt command line usage
2019-10-10 06:14:03 +02:00
Eric Peters b5fd78f74b Intial sbt.bat refactor to match the universal bash script - implement --help, --verbose, --version, --script-verion, --numeric-version, .sbtopts, .jvmopts, -D 2019-10-09 19:47:49 -07:00
Alex Zolotko a9d85c6df6 Detect more memory settings
Fixes sbt/sbt#5135
2019-10-09 19:47:45 -07:00
Eric Peters d272ab1a1f Fix No compatible version found for adopt@1.8.212-04 2019-10-09 19:47:44 -07:00
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