ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: compiler attribute in javac task
Date Fri, 02 Aug 2002 07:02:07 GMT
On Thu, 01 Aug 2002, Zhendi Su <Zhendi.Su@oracle.com> wrote:

> 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?

Your version of Ant.  You'll need 1.5 for <javac>'s compiler
attribute.

Set the magic build.compiler property to chose the compiler for all
<javac> tasks.  This will work for all versions of Ant but doesn't
allow the fine granularity the compiler attribute supports
(i.e. chosing on a task by task basis).

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message