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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
