On Donnerstag, April 3, 2003, at 05:37 Uhr, peter reilly wrote:
You need to use the attribute target = "1.1" and not the attribute compiler.
Yes indeed! That solved it. Thanks so much! I almost gave up using the javac target. How could I miss that. The description is in the manual, but it could be a bit confusing to distinguish between compiler ant the target attribute.
Chris.
Peter On Thursday 03 April 2003 17:27, Christian Schaffner wrote:Hi
(I am new to this list so please forgive me if this was already answered.)
We are developing a java applet and recently switched from make to ant
as building tool. The applet needs to be compatible with vanilla
w2k/ie5 installations, which means that the compiled java classes needs
to be compatible with the jvm 1.1.x.
What I am trying to do is:
<target name="compile" depends="init" description="compiles all source
files">
<javac
srcdir="${src}"
destdir="${classes}"
excludes="**/bak/,**/backup/"
compiler= "classic"
<classpath><path refid="classpath.path"/></classpath> </javac> </target>
but this gives:
[javac] This version of java does not support the classic compiler;
upgrading to modern
and leads to classes not runnable in ie5 on w2k. This happens on all MacOS X, Sparc Solaris and i686 Linux platforms all running java 1.4.1_01.
What am I doing wrong here? I searched the mailing list archives but couldn't find any relevant information there.
Thanks for any help! Chris.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]