ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: setting a specific compiler
Date Fri, 26 Apr 2002 06:14:52 GMT
On Thu, 25 Apr 2002, Jamie Echlin <Jamie.Echlin@ubsw.com> wrote:

> I would like my project to be compiled using the 1.4 JDK as opposed
> to our regular 1.3.1 compiler under certain conditions, ideally when
> a property is set. But from the archives I understand that I can't
> do this til Ant 1.5.

Use plain <javac> without forking, set includeantruntime and
includejavaruntime to false, add tools.jar and rt.jar of JDK 1.4 to
the classpath (or even bootclasspath).  I think this should work in
Ant 1.4.1.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message