ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: compiler attribute in javac task
Date Fri, 02 Aug 2002 07:02:07 GMT
On Thu, 01 Aug 2002, Zhendi Su <> 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

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).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message