When I try to run the tests on Windows 2000 (JDK 1.4)  I get "Cannot create
file XXXXX as the parent directory does not exist"  errors in the following
test cases:

org.apache.commons.io.FileUtilsTestCase
org.apache.commons.io.FilenameUtilsTestCase
org.apache.commons.io.IOUtilsTestCase

For example:
Testcase: testToFile3(org.apache.commons.io.FileUtilsTestCase): Caused an
ERROR
Cannot create file
C:\svn\commons\commons-io-1.2-RC2-src\test\io\file1-test.txt as the parent
directory does not exist
java.io.IOException: Cannot create file
C:\svn\commons\commons-io-1.2-RC2-src\test\io\file1-test.txt as the parent
directory does not exist
 at
org.apache.commons.io.testtools.FileBasedTestCase.createFile(FileBasedTestCa
se.java:61)
 at org.apache.commons.io.FileUtilsTestCase.setUp(FileUtilsTestCase.java:88)

Also LineIteratorTestCase and FileFilterTestCase had failures of the
following kind:

Testcase: testZeroLines(org.apache.commons.io.LineIteratorTestCase): Caused
an ERROR
C:\svn\commons\commons-io-1.2-RC2-src\test\io\LineIterator-0-test.txt
(Access is denied)
java.io.FileNotFoundException:
C:\svn\commons\commons-io-1.2-RC2-src\test\io\LineIterator-0-test.txt
(Access is denied)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
 at org.apache.commons.io.FileUtils.writeLines(FileUtils.java:1054)


Testcase:
testMakeCVSAware(org.apache.commons.io.filefilter.FileFilterTestCase):
FAILED
Filter(File) org.apache.commons.io.filefilter.NotFileFilter not false for
C:\svn\commons\commons-io-1.2-RC2-src\test\io\CVS
junit.framework.AssertionFailedError: Filter(File)
org.apache.commons.io.filefilter.NotFileFilter not false for
C:\svn\commons\commons-io-1.2-RC2-src\test\io\CVS
 at
org.apache.commons.io.filefilter.FileFilterTestCase.assertFiltering(FileFilt
erTestCase.java:60)
 at
org.apache.commons.io.filefilter.FileFilterTestCase.testMakeCVSAware(FileFil
terTestCase.java:415)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Niall

----- Original Message ----- 
From: "Stephen Colebourne" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[email protected]>
Sent: Friday, March 10, 2006 10:33 PM
Subject: [VOTE] Release IO 1.2


> This is a vote for the release [io] v1.2
>
> RC2 is here:
> http://people.apache.org/~scolebourne/commons-io/
>
> Site here:
> http://people.apache.org/~scolebourne/commons-io/site/
>
> Release notes here:
> http://people.apache.org/~scolebourne/commons-io/site/upgradeto1_2.html
>
> ------------
> [ ] +1  I support this release
> [ ] +0
> [ ] -0
> [ ] -1  I do not support this release because...
> ------------
>
> Stephen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to