Jörg Henne wrote:
Thanks. I tried to run the tests. Some failed with an error message
which doesn't seem to be related to my changes:
Eeeeewww looks like NT file locking while trying to delete files from
old test runs.
Alex
java.io.IOException: Unable to delete file:
server-work\system\objectClass.lg
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1087)
at
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:811)
at
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:777)
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1079)
at
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:811)
at
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:777)
at
org.apache.directory.server.core.unit.AbstractTestCase.doDelete(AbstractTestCase.java:216)
at
org.apache.directory.server.core.unit.AbstractTestCase.setUp(AbstractTestCase.java:202)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:781)
I haven't had time to dig a bit deeper, though.
Joerg Henne