Add flag to disable graal parsing of command args

The graalvm was swallowing all -D arguments and adding them to the
process system properties. This is undesirable since there are sbt
commands that have arguments starting with '-D'. It also breaks our
ability to pass system properties to the forked sbt process.
This commit is contained in:
Ethan Atkins 2020-07-01 14:29:50 -07:00
parent 6ff4406aa6
commit 569d39c203
1 changed files with 1 additions and 0 deletions

View File

@ -1107,6 +1107,7 @@ lazy val sbtClientProj = (project in file("client"))
"--verbose",
"-H:IncludeResourceBundles=jline.console.completer.CandidateListCompletionHandler",
"-H:+ReportExceptionStackTraces",
"-H:-ParseRuntimeOptions",
s"-H:Name=${target.value / "bin" / "sbtc"}",
),
genExecutable := {