A few months ago, Sun made available an early access compiler for
JSR 14. JSR 14 adds Generics to the Java language, and will be available
in full in JDK1.5.
The early-access compiler works by "wrapping" around the existing
JDK1.4 compiler, and comes with helper .sh and
.bat files. They work fine, but using those wrapper
scripts from within
Ant
wasn't the easiest thing in the world.
So I hacked together my own Ant compiler-adapter for this early access
compiler, which you can download below.