From 569d39c2039038d2b9a72e27562fc55331665c16 Mon Sep 17 00:00:00 2001 From: Ethan Atkins Date: Wed, 1 Jul 2020 14:29:50 -0700 Subject: [PATCH] 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. --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 001dd046c..3cf295a74 100644 --- a/build.sbt +++ b/build.sbt @@ -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 := {