From 402378a81e9a8d4981e04bc6d72f9fee04a90156 Mon Sep 17 00:00:00 2001 From: Dale Wijnand <344610+dwijnand@users.noreply.github.com> Date: Wed, 7 Feb 2018 09:22:42 +0000 Subject: [PATCH] Adds sbt.boot.lock sysprop to opt-out Adds sbt.boot.lock as a system property to opt-out of locking. This might be useful when running on filesystems on which the locking code path would throw an exception. Upstream issue: https://bugs.openjdk.java.net/browse/JDK-8193594 Provides a workaround for #2222, thus... Closes #2222. --- launch/src/main/input_resources/sbt/sbt.boot.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/launch/src/main/input_resources/sbt/sbt.boot.properties b/launch/src/main/input_resources/sbt/sbt.boot.properties index cd46ae8af..f13961dcf 100644 --- a/launch/src/main/input_resources/sbt/sbt.boot.properties +++ b/launch/src/main/input_resources/sbt/sbt.boot.properties @@ -22,6 +22,7 @@ [boot] directory: ${sbt.boot.directory-${sbt.global.base-${user.home}/.sbt}/boot/} + lock: ${sbt.boot.lock-true} [ivy] ivy-home: ${sbt.ivy.home-${user.home}/.ivy2/}