locking of boot directory can be disabled by with [boot].lock: true in boot.properties

This commit is contained in:
Mark Harrah 2011-05-19 22:04:05 -04:00
parent b470d8ad80
commit 6ba42e0d2b
1 changed files with 1 additions and 1 deletions

View File

@ -77,5 +77,5 @@ object ComponentManagerTest extends Specification
private def writeRandomContent(file: File) = IO.write(file, randomString)
private def randomString = "asdf"
private def withManager[T](f: ComponentManager => T): T =
TestLogger( logger => withTemporaryDirectory { temp => f(new ComponentManager(xsbt.boot.Locks, new xsbt.boot.ComponentProvider(temp), logger)) } )
TestLogger( logger => withTemporaryDirectory { temp => f(new ComponentManager(xsbt.boot.Locks, new xsbt.boot.ComponentProvider(temp, true), logger)) } )
}