sbt/run
Erik LaBianca ca45370ea1 Add sbt.argsfile option
There are a number of scenarios, including long classpaths, that
can cause linux and other systems to fail to fork a jvm. We can work
around this on JDK9 and above by using an "arguments file" [1].

This patch adds an "sbt.argsfile" property and SBT_ARGSFILE environment
variable. This option defaults to true.  When active on
Java 9+, long command lines are translated to an arguments file by
adding all command line arguments to the arguments file format at [1]
and java is invoked using the arguments file instead of passing the
arguments on the command line.

1. https://docs.oracle.com/javase/9/tools/java.htm#

Fixes: #2974
2022-09-08 15:17:19 -04:00
..
src Add sbt.argsfile option 2022-09-08 15:17:19 -04:00
NOTICE Add, configure & enforce file headers 2017-10-05 09:03:40 +01:00