From d08517f57d11912898ca577e76cfd5095dabd185 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sun, 14 Feb 2010 23:22:45 -0500 Subject: [PATCH] better choice of global lock file --- ivy/IvyCache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy/IvyCache.scala b/ivy/IvyCache.scala index 704192bdf..98d50da9b 100644 --- a/ivy/IvyCache.scala +++ b/ivy/IvyCache.scala @@ -30,7 +30,7 @@ private object NotInCache /** Provides methods for working at the level of a single jar file with the default Ivy cache.*/ object IvyCache { - def lockFile = new File(System.getProperty("java.io.tmpdir"), "sbt.cache.lock") + def lockFile = new File(System.getProperty("user.home"), ".sbt.cache.lock") /** Caches the given 'file' with the given ID. It may be retrieved or cleared using this ID.*/ def cacheJar(moduleID: ModuleID, file: File, lock: Option[xsbti.GlobalLock], log: IvyLogger) {