ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Quail <m...@cortexebusiness.com.au>
Subject Re: bootclasspath prepend and js14 java generics
Date Mon, 31 Mar 2003 22:47:00 GMT
I have made an Ant compiler adapter you can use for this purpose.

You can get the compiler adapter (jsr14adapter-1.1.jar) here:
http://www.thecortex.net/clover/generics.html#adapter

(An older 1.0 version is available below, but you are better off with the 1.1 
version above:
http://madbean.com/blog/3/
)

=Matt

Hanasaki JiJi wrote:
> 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 "$@"
> 



Mime
View raw message