You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Matt Quail <ma...@cortexebusiness.com.au> on 2003/04/01 00:47:00 UTC
Re: bootclasspath prepend and js14 java generics
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 "$@"
>