ant-user mailing list archives

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

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"">


Marc

>>> Mark.Lybarger@CBC-Companies.com 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 (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003
 



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


Mime
View raw message