Re: source attribute

2005-12-21 Thread Steve Loughran
Burgess, Benjamin wrote: This is as a result of using a 1.5 JVM to compile. Only switching to a 1.4 JVM will prevent this warning from occurring. Ben or jikes, which is faster. I've actually debated adding a filter to javac to strip out some of this stuff. But then I went and fixed all our

RE: source attribute

2005-12-20 Thread Lim, Teck Hooi
OK. I got it. Many thanks guys. This is my 1st using source option with . -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 21, 2005 12:52 PM To: user@ant.apache.org Subject: Re: source attribute On Tue, 20 Dec 2005, Teck Hooi Lim <[EM

Re: source attribute

2005-12-20 Thread Stefan Bodewig
On Tue, 20 Dec 2005, Teck Hooi Lim <[EMAIL PROTECTED]> 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 a

RE: source attribute

2005-12-20 Thread Chang, Jing
Exactly. I ran into the same problem and here is what I ended up with: Cheers, Jing -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 10:34 AM To: Ant Users List Subject: RE: source attribute nowarn attribute? On Tue, 2005-12-20 at 16

RE: source attribute

2005-12-20 Thread James Abley
nowarn attribute? On Tue, 2005-12-20 at 16:31, Burgess, Benjamin wrote: > This is as a result of using a 1.5 JVM to compile. Only switching to a > 1.4 JVM will prevent this warning from occurring. > > Ben > > -Original Message- > From: Lim, Teck Hooi [mailto:[EMAIL PROTECTED] > Sent: T

RE: source attribute

2005-12-20 Thread Burgess, Benjamin
This is as a result of using a 1.5 JVM to compile. Only switching to a 1.4 JVM will prevent this warning from occurring. Ben -Original Message- From: Lim, Teck Hooi [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 6:15 AM To: user@ant.apache.org Subject: source attribute Hi,

RE: source attribute

2005-12-20 Thread Lim, Teck Hooi
Thanks but it doesn't work. -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 10:05 PM To: Ant Users List Subject: Re: source attribute Try source="1.4" as well as target="1.4" -- Jeffrey E. Care ([EMAIL PROTECT

Re: source attribute

2005-12-20 Thread Jeffrey E Care
Try source="1.4" as well as target="1.4" -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Lim, Teck Hooi" <[EMAIL PROTECTED]> wrote on 12/20/2005 06:14:35 AM: > Hi, > > > > I have used tag with the following attributes >