ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lim, Teck Hooi" <TeckHooi....@acs-inc.com>
Subject RE: <javac> source attribute
Date Wed, 21 Dec 2005 05:22:07 GMT
OK. I got it. Many thanks guys. This is my 1st using source option with
<javac>.

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Wednesday, December 21, 2005 12:52 PM
To: user@ant.apache.org
Subject: Re: <javac> source attribute

On Tue, 20 Dec 2005, Teck Hooi Lim <TeckHooi.Lim@acs-inc.com> wrote:

>     [javac] d:\project\mybasic\src\com\acme\TestQueue.java:192:
>     warning: as of release 1.5, 'enum' is a keyword, and may not be
>     used as an identifier

This is a warning, without source="1.4" it would be an error.  That's
all the source attribute can do for you.  nowarn can be used to
disable warning on top of that.

Stefan

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

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


Mime
View raw message