Hi everybody!
How can I use different compilers in ANT? I want to compile some files
using JDK 1.3 and some using JDK 1.1.8 for example. When I specify the
build.compiler value to classic, my JDK 1.3 is still used. I have both
JDK\bin on my path.
<target name="compile">
<property name="build.compiler" value="classic"/>
<javac srcdir="d:\test"
target="1.1"
includes="simpleTestJDK.java"
classpath="c:\jdk1.1.8\lib\classes.zip"
includeAntRuntime="false"
verbose="true"
destdir="d:\test"/>
</target>
I read on the Archive mailing list that I should include:
includeruntime="false"
but with that, I get an error from ANT saying that this attribute is not
supported by javac.
Thanks for any help.
Melanie.