ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dc ...@wm.namco.co.jp>
Subject Re[2]: Different JDK in <javac>
Date Wed, 02 Jul 2003 11:46:27 GMT
i found it not enough to change the build.compiler, i had to actually
point at the right javac to use...


		<javac
					srcdir="${build}/filtered"
					destdir="${build}/compiled"
					bootclasspath="${midp.home}/lib/midpapi.zip;${build.opt-classes}"
					executable="D:\Java\jdk1.3.1_04\bin\javac"
		/>

from [ "Antoine Levy-Lambert" <levylambert@tiscali-dsl.de> ] on [ Tue, 17 Jun 2003 22:02:10
+0200 ]

>   You can try to find a method or a class which has been introduced in Java
>   1.4 and did not exist in 1.3.
>   Insert somewhere a function call to such a method or class and see what
>   happens when compiling.
>   Cheers
>   Antoine
>   ----- Original Message -----
>   From: "Matthias P." <groups.mpatzak@gmx.de>
>   To: <user@ant.apache.org>
>   Sent: Tuesday, June 17, 2003 7:00 PM
>   Subject: Different JDK in <javac>
>   
>   
>   > Hi,
>   >
>   > on my PC i am using the JDK 1.4. The JAVA_HOME is set to this JDK. In our
>   > project we should compile with Java 1.3.
>   >
>   > According to the docs I set the property build.compiler to java1.3.
>   > Compiling works, but how can i check that it is really compiled with 1.3?
>   >
>   > Thanks, Matthias
>   >
>   > --
>   > +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
>   > Bitte l臘heln! Fotogalerie online mit GMX ohne eigene Homepage!
>   >
>   >
>   > ---------------------------------------------------------------------
>   > 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

/dc
+-----+-----------------------------------------+
david [dc] collier

NAMCO Ltd.
Web & Mobile Contents Business Group

  e   |   dc@wm.namco.co.jp
  v   |  +81(0)90 7414 6107


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


Mime
View raw message