Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9
-
None
-
Windows XP Professional
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
Description
"ant test" generates the following error consistently when run on a Windows machine even when run as user with Administrator privileges
[junit] Testcase: testTmpDirIsPlainFile(org.apache.lucene.index.store.TestFSDirectory): Caused an ERROR
[junit] Access is denied
[junit] java.io.IOException: Access is denied
[junit] at java.io.WinNTFileSystem.createFileExclusively(Native Method)
[junit] at java.io.File.createNewFile(File.java:828)
[junit] at org.apache.lucene.index.store.TestFSDirectory.testTmpDirIsPlainFile(TestFSDirectory.java:66)