On Tue, 05 Dec 2006, James Abley <[EMAIL PROTECTED]> wrote:

> <javac source="1.2" target="1.2"
> 
> That works for me, although I noticed something slightly surprising
> when I compiled using a 1.4 and 1.5 JDK.
> 
>     [javac] '-source'
>     [javac] '1.3'

Ant magically upgraded the -source switch to 1.3 since most JDKs don't
support -source 1.2 at all.  And for those that do (1.4.2 does while
1.5.0 doesn't IIRC) it doesn't make any difference since anything
below 1.4 is "the same" as far as -source is concerned.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to