Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
please update the next release of Ant 1.7 to Xerces 2.9.0

please update the next release of Ant 1.7 to Xerces 2.9.0

2006-12-05       - By Stefan Bodewig
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Tue, 05 Dec 2006, James Abley <james.abley@(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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.