ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject setting JAVA.HOME for javac with fork="true" ?
Date Tue, 24 Apr 2007 08:45:24 GMT

Hi,

right now i have a working testfile  with <javac >  IBM_J9_v23_SR2
that way =

<javac fork="true"
 
executable="c:/Programme/JavaSoft/JDK/IBM_J9_v23_SR2/bin/javac.exe"
        includeantruntime="false"
        includejavaruntime="false"
        classpathref="ibm.jdk.classpath" 
        srcdir="c:/WKS/eclipse_3_2_2/web/src/de/bla/blabla"
        destdir="Y:/tempwork"
/>

fine, but in reality i need to call another build.xml and want to
point JAVA.HOME to the ibm jdk, so that the javac task
in the called build.xml works with ibm jdk instead of sun jdk.

Is that possible ?

I want to avoid to write

<javac 

executable="..."
/>

in the called build.xml and let the JAVA_HOME decide.


Regards,Gilbert


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


Mime
View raw message