Can someone tell me how to insert the use of <formatter> into the following Ant target?

This task looks like a <java> task to Ant so I can't use <formatter>. Can I get around this, or do I need to completely restructure my build.xml?

Thanks
Neil

    <target name="runtests" depends="compiletests" if="junit.present">
        <java fork="yes" classname="junit.textui.TestRunner"
            taskname="junit" failonerror="true">
            <arg value="test.com.nortel.mre.events.eventTest"/>
            <classpath>
                <pathelement location="build/lib/${app.name}.jar" />
                <pathelement location="build/testcases" />
                <pathelement path="" />
                <pathelement path="${java.class.path}" />
            </classpath>
        </java>
    </target>


--
Neil O'Connor,
Nortel Networks Corporation.