Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
use different jdk for build file

use different jdk for build file

2007-06-18       - By kkmca

i have an environment that i use to build applications and a new requirement
has been developed for this environment to use two different jdks for
building different  versions of the code,

the old branch uses jdk 1.5 and the new branch uses jdk 1.6

i found that it is easy enough to tell the javac tasks in the build files to
use different compilers but there are other tasks such as rmic that still
use the jdk that ant is using.

How do i tell the set the classpath of the build file to use a different jdk
that resides on the server that is not known by the server environment nor
is known by ant ?

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.