Re: javac source and target default values

2008-10-22 Thread Dave
and against one of the classes you create (javap > > -verbose this.package.myClass) and look at the "major version". 49=1.5, > > 60=1.6 > > > > Thanks, > > Kevin > > > > -Original Message----- > > From: nlif [mailto:[EMAIL PROTECTED]

RE: javac source and target default values

2008-10-22 Thread nlif
Class) and look at the "major version". 49=1.5, > 60=1.6 > > Thanks, > Kevin > > -Original Message- > From: nlif [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 11:44 AM > To: user@ant.apache.org > Subject: Re: javac source and target

RE: javac source and target default values

2008-10-22 Thread Toomey, Kevin H (ATS, IT)
f the classes you create (javap -verbose this.package.myClass) and look at the "major version". 49=1.5, 60=1.6 Thanks, Kevin -Original Message- From: nlif [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 11:44 AM To: user@ant.apache.org Subject: Re: javac source and

Re: javac source and target default values

2008-10-22 Thread nlif
Thanks for the reply, but I already knew that :) What I am asking is where does ANT take the DEFAULT values from. Thanks, Scot P. Floess wrote: > > > Use the target attribute for the javac task. target="1.5" for example > > On Wed, 22 Oct 2008, nlif wrote: > >> >> Hi, >> >> I suspect tha

Re: javac source and target default values

2008-10-22 Thread Scot P. Floess
Use the target attribute for the javac task. target="1.5" for example On Wed, 22 Oct 2008, nlif wrote: Hi, I suspect that although I use JDK 1.6 to run ANT's javac task, the source/target compatability level is 1.5 and not 1.6. I know that I can -and should- specify them using the source a