The Ant developers refuse to support JUnit4 since it depends on Java5 :-(
So writing a <junit4> AntTask is up to somebody else (any volunteers?)
Maven2 will provide JUnit4 support in an upcoming version. In the meantime there is a plugin that does the job:
http://wiki.unto.net/Maven_JUnit4_plugin
Regards
Ralf |