ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: use different jdk for build file
Date Tue, 19 Jun 2007 07:09:26 GMT
Ant needs a JDK for its own. So the best is pointing JAVA_HOME to the required JDK.

Jan


>-----Urspr√ľngliche Nachricht-----
>Von: kkmca [mailto:kemcadams@yahoo.com] 
>Gesendet: Montag, 18. Juni 2007 22:18
>An: user@ant.apache.org
>Betreff: use different jdk for build file
>
>
>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: 
>http://www.nabble.com/use-different-jdk-for-build-file-tf394258
>2.html#a11183246
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message