Thanks..
This works a lot better than the ibm 1.1.
I have not compiled ant yet with 1.1. With the binary releases I
get the following problems. When trying to run the unit tests in ant-contrib.
1.5.2:
ant.taskdefs.Zip.grabResources()
This uses Vector.add instead of Vector.addElement().
(The same is true for cvs HEAD).
1.5.1 and 1.5:
java.lang.ClassFormatError: Bad major version number
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at
org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1016)
at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1062)
at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1034)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:929)
at java.lang.ClassLoader.loadClass(ClassLoader.java)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:239)
This may be fixed by recompiling ant or it may be due to the fact that
ant-contrib uses 1.2 isms. (only just found out.!).
Peter
On Tuesday 18 March 2003 10:46, Stefan Bodewig wrote:
> On Tue, 18 Mar 2003, peter reilly <[EMAIL PROTECTED]> wrote:
> > Has anyone used java 1.1 on linux with ant?
>
> Yes (Blackdown's 1.1.8_v3 on RedHat 7.x). I haven't encountered any
> unusual problems, even most my testcases pass (but I have compiled
> Ant myself).
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]