better choice of global lock file

This commit is contained in:
Mark Harrah 2010-02-14 23:22:45 -05:00
parent e0579ad5a8
commit d08517f57d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{