You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Azariah Jeyakumar <az...@tumbleweed.com> on 2001/09/14 02:23:41 UTC

using different JDK version for javac than ant

Hi,

Is it possible to compile the sources (javac task) using JDK version 1.3
when ant itself is running on JDK 1.2?

Thanks
Azariah



Re: using different JDK version for javac than ant

Posted by Diane Holt <ho...@yahoo.com>.
--- Azariah Jeyakumar <az...@tumbleweed.com> wrote:
> Is it possible to compile the sources (javac task) using JDK version 1.3
> when ant itself is running on JDK 1.2?

Yes -- set build.compiler="modern", includeJavaRuntime="no", and set the
classpath attribute (or nested <classpath> element) to the 1.3 jar(s) you
need.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/