[multiproject, jettyRun] Can't execute more than one jettyRun command targeting two different subprojects, Cause: Timeout waiting to lock cache directory

[Gradle 1.0-milestone-6][multiproject] Can’t execute more than one jettyRun command targeting two different subprojects, Cause: Timeout waiting to lock cache directory.

Example:

I have a multiproject with two web applications, lets say admin and users. I only can run one, lets say ‘gradle users:jettyRun’, when I try to run the other one, ‘gradle admin:jettyRun’ I get an error wich reads:

Cause: Timeout waiting to lock cache directory /path/to/project/the-project/.gradle/1.0-milestone-6/taskArtifacts. It is currently in use by another Gradle instance.

Hey, I don’t remember exactly but I’m pretty sure we fixed that in either M7 or in master so it’s going to be released with M8.

Cheers!