Joel Riedesel <[EMAIL PROTECTED]> wrote:
> It's tricky since one must use the javac from the sample
> generics implementation AND one must cross compile using
> the collect.jar (collections modified for generics).
What's the class name of that generics compiler? Ant won't run
command line javac but invoke either com.sun.tools.javac.Main (1.3 ==
modern) or sun.tools.javac.Main (1.2 and 1.1) directly. And it will
load it from its current CLASSPATH.
If it is the same class name, you cannot use it with Ant - we've
thought about adding a fork option to javac that might help, but
nothing has been implemented yet.
If it is a different class name, you could add a CompilerAdapter and a
new compiler type to Ant.
Stefan