Steve Loughran wrote:
Peter Reilly wrote:
No,
I am saiding that I see the same behaviour on all the jdks I tested with
(1.2, 1.4 and 1.5).
dos/unix file conversion?
I do not think so.
I am using linux.
The change that caused the issue was an new line being added to the file
being tested, so
on do
Peter Reilly wrote:
No,
I am saiding that I see the same behaviour on all the jdks I tested with
(1.2, 1.4 and 1.5).
dos/unix file conversion?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
No,
I am saiding that I see the same behaviour on all the jdks I tested with
(1.2, 1.4 and 1.5).
Peter
[EMAIL PROTECTED] wrote:
Maybe the implementation of java.io.File.length() has changed?
I do not think so.
I tested with jdk1.4.2 and jdk1.5.0 on linux
Neither do I, but that would exp
> >Maybe the implementation of java.io.File.length() has changed?
> >
> I do not think so.
>
> I tested with jdk1.4.2 and jdk1.5.0 on linux
Neither do I, but that would explain that :)
Ok, how to deal with that?
a) pass different sizes from the buildfile to the testcase depending on JDK
version
The only difference between them is that version 1.2 has a new line
character
at the end of the line and version 1.1 does not have the new line character.
The file is used for the CheckSum tests as well as the Selector tests,
so I think that
the fix is to modify the Selector test that fails.
Pe
Nice hit :)
Jan
> -Ursprüngliche Nachricht-
> Von: Peter Reilly [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 15. September 2004 11:42
> An: Ant Developers List
> Betreff: Re: AW: cvs commit: ant/src/main/org/apache/tools/ant
> PropertyHel per . java
>
> [EMAIL PROTECTED] wrote:
>
I did a retest. Now it compiles, but there are some tests failing:
- org.apache.tools.ant.taskdefs.ChecksumTest
- org.apache.tools.ant.taskdefs.RmicAdvancedTest
- org.apache.tools.ant.taskdefs.optional.ReplaceRegExpTest
no regexp available
- org.apache.tools.ant.taskdefs.optional.sitraka.XMLRepor
java -version
-
java version "1.2.1"
Classic VM (build JDK-1.2.1_004, native threads)
OS
--
Win2000 SP 4
Commands
rd /Q/S bootstrap 2>nul
rd /Q/S build 2>nul
rd /Q/S dist 2>nul
del velocity.log >nul 2>nul
call build.bat dist-lite test-jar
call build.bat test -Dtest.h