ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff <>
Subject Re: JBuilder 7, Ant and JDK 1.4.1
Date Mon, 28 Oct 2002 16:17:44 GMT
>Does anyone know how to set another JDK to compile when using Ant in
>JBuilder 7?

setting JAVA_HOME will work only if you kick off your builds from the 
When running within JBuilder the JAVA_HOME is reset to the same one 
JBuilder uses to run.
To get around this problem I used the new (Ant1.5) ability to set the 
compiler in the javac task..

  <javac srcdir="${src}"

Not as nice as it could be, but it works.

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

View raw message