ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil Prabhakaran" <sunilprabhaka...@gmail.com>
Subject Re: Select JDK compiler
Date Tue, 17 Jul 2007 06:17:59 GMT
hi Hezjing,

Try the executable attribute in <javac>.
By default it will be 1.5 for you.
however try setting this executable attribute to the filepath for 1.4
javac.exe, whereever you require the sources to be compiled with 1.4
JDK

hope this helps
regards
Sunil Prabhakaran

On 7/17/07, hezjing <hezjing@gmail.com> wrote:
> Hi!
>
> I have projects to be compiled with Java 1.4, or Java 1.5 and how can
> I explicitly select the compiler in build.xml?
>
> When I set fork="yes" when calling <javac>, how do I know which JDK
> compiler the <javac> is executing?
>
> There are Java 1.4 and 1.5 installed in my environment, with JAVA_HOME
> pointing to Java 1.5.
>
>
> --
>
> Hez
>
> ---------------------------------------------------------------------
> 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