abe
bcf5f020fe
Fix --verbose output with --jvm-debug on Windows
2020-03-04 11:48:56 +09:00
abe
8143bbfc24
Fix --jvm-debug not working on Windows
2020-03-03 14:39:00 +09:00
Eugene Yokota
c11040c968
Fixes quoted arugment with whitespace
...
Ref https://github.com/sbt/sbt/issues/5343
Fixes https://github.com/sbt/sbt/issues/5210
2020-01-04 15:05:13 -05:00
Eric Peters
29548d7628
Tweak sbt.bat to parse the -debug arguments first
2019-12-19 16:15:25 -08:00
Eric Peters
63eabf3c8f
Update sbt.bat --script-version to execute early and avoid java check/robocopy bootstrap - Fixes #5220
2019-11-17 08:35:30 -08:00
Michael Hsu
1318c0f594
Add special handling for -XX, -XX:+ and -XX:0
2019-11-11 10:59:06 +08:00
Michael Hsu
34ca729719
Fix Travis CI error: find: '=': No such file or directory
2019-11-10 20:46:55 +08:00
Michael Hsu
fe43d0b975
Add special handling for -XX
...
Fix special handling for -D where > null should be > nul
Fix the problem that only the first option of SBT_OPTS and JAVA_OPTS got processed
2019-11-08 10:23:53 +08:00
Eric Peters
5991e803af
Add --sbt-jar test and windows sbt.bat support
2019-10-19 20:29:09 -07:00
Eric Peters
819ee47071
Remove unimplemented --sbt-rc and --sbt-snapshot arguments from docs and scripts
2019-10-19 18:34:13 -07:00
Eugene Yokota
9471fab91b
Remove debug echo
2019-10-16 13:18:58 -04:00
Eugene Yokota
689fdd682a
remove unnecessary /I
2019-10-16 12:00:47 -04:00
eugene yokota
3953c80c73
Update src/universal/bin/sbt.bat
...
Co-Authored-By: Eric Peters <eric@peters.org>
2019-10-16 11:56:43 -04:00
eugene yokota
7d7e01015f
Update src/universal/bin/sbt.bat
...
Co-Authored-By: Eric Peters <eric@peters.org>
2019-10-16 11:54:22 -04:00
Eugene Yokota
00e5224fde
Add debugging for -D parsing
2019-10-16 10:53:49 -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
ab001f5597
Fix typo around continue/quit
...
Fixes https://github.com/sbt/sbt/issues/5188
2019-10-15 12:21:07 -04: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
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
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
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
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
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
56f09ef1ec
support GNU style double dash options
2019-04-05 10:20:52 -04:00
Eugene Yokota
3f9e91aa4f
Default to -Dfile.encoding=UTF-8
...
Fixes #236
2019-02-22 22:39:18 -05:00
fredge
0e8655fd5d
fix #248 . Move setting JVM's debug option after executing `:copyrt` label, in order to avoid unintended debug string written to `rtext.txt`
2018-12-13 12:25:42 +09:00
Dale Wijnand
92067eb308
Merge pull request #217 from dkim/sbt-create
...
Exit if the current dir is definitely not an sbt dir and neither `-sbt-create` nor `new` was given
2018-06-01 10:14:33 +01:00
Jean-Luc Deprez
d70c78d02b
- Java version detection broken, when path to JDK contains spaces.
...
Allways outputs:
sbt requires at least version 6+, you have
version 0
- the quoted version word for findstr doesn't seem to work in the for-command statement, quotes not needed for a single word.
2018-04-10 16:12:28 +02:00
Eugene Yokota
b2fdb7685f
Fix Java version detection on Windows
...
Fixes https://github.com/sbt/sbt/issues/4055
Adds JDK 10 testing on Windows
2018-04-06 05:24:07 -04:00
Deokhwan Kim
94b27fcefa
Confirm a user's intent if the current dir doesn't look like an sbt dir
...
Fixes #212
2018-02-19 14:24:18 -05:00
Friedrich von Never
3019b94da0
Fix quotes in sbt.bat
2018-02-17 21:56:09 +07:00
TATSUNO Yasuhiro
06420a7c62
Ignore comment in .jvmopts on Windows ( #213 )
2018-02-14 09:06:22 +00:00
Eugene Yokota
3b39ff0554
Use more delayed expansion
...
Fixes #206
When I use unzipped sbt.bat it seems to runs ok, but using the msi installer version, this variable seems to expand and causes:
```
\sbt\bin\java9-rt-export.jar was unexpected at this time.
```
2018-01-08 10:06:04 -05:00
Eugene Yokota
0e59118ded
Remove double quotes around rtexport
...
See https://github.com/sbt/sbt/issues/3804#issuecomment-352602666
2017-12-18 22:27:19 -05:00
Eugene Yokota
f9b9d082f6
use delayed expansion
...
Fixes sbt/sbt#3804
Inside the if, it seems like bunch of variables were set to blank.
Using delayed expansion seems to fix this. This is confirmed by the newly added test.
2017-12-14 02:30:02 -05:00
Brett Randall
da02335261
Changed references to downloading/installing/updating Java (JRE?) to refer to JDK.
...
Updated download URLs. Fixed #115 .
2017-11-10 19:48:05 +00:00
Michael Stringer
97f38b5a1d
Set -XX:+UseParallelGC on Java 9
2017-09-28 20:00:33 +01:00
tksk
b66b0ff7f6
Fix: multiple execution of universal:stage task produces duplicated version strings
2017-05-05 15:45:20 +09:00
tksk
a602ed760e
Fix missing placeholder `INIT_SBT_VERSION'
2017-05-05 00:29:52 +09:00
tksk
ab3de739d7
detect $init_sbt_version
2017-04-28 02:28:16 +09:00
tksk
fb30f81f89
fix: recursive copying needs "/E" option
2017-04-28 02:27:48 +09:00
tksk
ef8011df0d
fix: least java version check for syncing "preloaded"
2017-04-28 02:26:49 +09:00
eugene yokota
bd18a0c2c6
Fix Windows script
2017-04-08 23:35:20 -07:00
eugene yokota
70ad35ebb6
Minor Windows fixes
2017-04-07 22:13:12 -07:00
Eugene Yokota
2fad446e67
Make offline installer optional
2017-04-07 00:56:55 -04:00
Eugene Yokota
cea5d178d8
add offline installtion
...
To utilize local preloaded repo, this will create lib/ directory with all artifacts required for sbt. This can be rsynced to the preloaded repo.
2017-03-10 16:56:00 -05:00
Eugene Yokota
39d8504045
--rt-ext-dir returns a dir specific to JDK 9 ver
2017-03-09 20:10:59 -05:00