ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanasaki JiJi <hanas...@hanaden.com>
Subject bootclasspath prepend and js14 java generics
Date Mon, 31 Mar 2003 06:41:48 GMT
The JSR 14 download uses the following line, in a batch file, to 
substitute in a different javac .class file when compiling.

how can ant be made to use the new compiler of jsr14 for all <javac 
tags?  This wont be an issue after j2se1.5 is released.  Ant allows 
specification of wich compiler via build.compiler property but there is 
no value for 1.5 or the early release patch for jsr14

exec ${J2SE14}/bin/javac -J-Xbootclasspath/p:${JSR14DISTR}/javac.jar 
-bootclasspath ${JSR14DISTR}/collect.jar:${J2SE14}/jre/lib/rt.jar 
-source 1.5 "$@"

-- 
=================================================================
= Management is doing things right; leadership is doing the     =
=       right things.    - Peter Drucker                        =
=_______________________________________________________________=
=     http://www.sun.com/service/sunps/jdc/javacenter.pdf       =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=================================================================


Mime
View raw message