ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Klein" <>
Subject Antw: building using a different jdk
Date Thu, 04 Dec 2003 16:32:09 GMT

with the attribute "fork" and "executable" you can specify the compiler that should be used.

For example:
<javac destdir="${classes}"
   fork="yes" executable="${jdk-path}/bin/javac"">


>>> 04.12.03 17:08:40 >>>
i'm trying to find out how i can build a project using different jdk's.  i have two jdk's
installed 1.3.1, and 1.4.1.  the 1.3.1 is in my system path, and i assume it's the default.
 are there examples of how i can swap to use the 1.4.1 compiler by setting a property in my
build perhaps?

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message