ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhendi Su <Zhendi...@oracle.com>
Subject compiler attribute in javac task
Date Thu, 01 Aug 2002 18:55:34 GMT
Hi,

I'm trying to ask ant to compile some files using jdk1.3, my javac task
is as follows:

<target name="cp_jdk13" depends="prepare">
 <javac  srcdir="/okcdev/okc/11.5/java/kimport"
 destdir="${classesDir}"
 compiler="modern"
 target="1.3"
 includeAntRuntime="False"
 depend="False"
 failonerror="${failOnErrorFlag}"
 includes="basic/cp/**, advanced/cp/**"
 classpath="${classpath}"/>
</target>

Somehow i'm getting the following error message:
 The <javac> task doesn't support the "compiler" attribute.

Can someone help me figure out what's wrong?  Any help is greatly
appreciated!

Thanks,

-Zhendi

Mime
View raw message