On 29/03/2011, at 6:58 PM, Niclas Hedhman wrote: > The Gradle process keeps every referenced Jar open with a file handle, > INCL every generated file, that be .jar, -source.jar or -javadoc.jar > in my case. Also, every html file generated by JunitReport is seen as > an open file just before the process crashes. > > Is this expected?
Possibly, depending on which version of Gradle you are using. Prior to 1.0-milestone-1, the junit report leaked file handles. I wouldn't expect to see any generated files kept open, except for those jars used by build scripts. Though, I suspect some tasks will be leaking files. Do you have any more details? eg which tasks are you running when this happens? -- Adam Murdoch Gradle Developer http://www.gradle.org Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
