Bertrand Delacretaz wrote:
Hi Mike,
On Thu, Aug 6, 2009 at 1:15 PM, Mike Müller<[email protected]> wrote:
Has anybody the same issue on Win XP with the SlingLogWriterTest?...
I haven't tested but
... It's WinXP SP3. I digged into it and found that
test.setLastModified(july21)
(line 190 of SlingLogWriterTest) doesn't change the modified
date of the file.
So the test fails at line 195. But I can't imagine why it
doesn't change
the date of the file....
Maybe because the file is still open? That's a common cause of such
problems under Windows.
To check that, you could stop the code with a debugger at that point,
and check with some Windows tool (don't know which one unfortunately,
unixish systems would use lsof) if the file is open.
"handle" is your friend... See
<http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx>.
BR, Juliam