For the second time today I got this error (only on the CI server, not my local 
machine):
org.gradle.api.UncheckedIOException: Could not add entry '1958' to cache 
'C:\Documents and 
Settings\cfx_is_intgn\.gradle\caches\1.0-milestone-3\fileSnapshots\cache.bin'.

After the first time I deleted the folder and the CI server successfully ran 
the tests for a few more hours.

After it happened a second time I tried adding the following to build.gradle:
clean.doFirst   {
       def cache="${System.properties['user.home']}\\.gradle\\caches"
       delete(dir: cache, failonerror:true)
       System.out.println(file(cache).exists())
}

But it hasn't yet deleted the folder.  This step continues to fail with:
Cause: java.io.IOException: The filename, directory name, or volume label 
syntax is incorrect


Ideas on how to overcome either issue?

thanks,
david

Reply via email to