I also suspect a Reader or an InputStream from not being closed correctly. Unix based systems handle this correctly and let you delete the file, Windows doesn't.
My 2 cents too. Pierre-Arnaud On 10 sept. 2010, at 11:28, Felix Knecht wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 09/10/10 10:38, Stefan Seelmann wrote: >> Hi dev, >> >> the ApacheDS build fails on Windows due to test failures. It happened >> on the new Hudson build [1] and I was also able to reproduce the >> failure on a Windows 7 VM. Any ideas? > > Some of them have a problem of file deletion like: > "Unable to delete file [2]: > C:\Users\hudson\AppData\Local\Temp\JdbmStoreTest\master.db" > > Windows seems still to be unable to delete a file when the file is > accessed from somewhere. Maybe the tests to not close the file > correctly. Following failures may come because of the not deleted (and > so probable not recreate/reset file). > > My 2 cents > Felix > > [2] > https://hudson.apache.org/hudson/view/Directory/job/dir-apacheds-jdk16-win/org.apache.directory.server$apacheds-jdbm-partition/2/testReport/org.apache.directory.server.core.partition.impl.btree.jdbm/JdbmStoreTest/testPersistentProperties/ > >> >> Kind Regards, >> Stefan >> >> [1] >> https://hudson.apache.org/hudson/view/Directory/job/dir-apacheds-jdk16-win/lastBuild/testReport/ >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkyJ+jMACgkQ2lZVCB08qHFq9ACeJxE8ZV4kKHZqN8IDTprQPSoU > t8IAniLyEwF3FCKXHNya9ApadH75H4Ou > =t0Kj > -----END PGP SIGNATURE-----
