Not from ant's junit task.
You best write a main method that runs your test suite "manually".
package test;
import org.junit.runner.Request;
import org.junit.runner.Result;
import org.junit.runner.Runner;
import org.junit.runner.notification.RunListener;
import org.junit.runner.notification.RunNotifier;
public class RollYourOwnTestRun {
public static void main(String[] args) {
Runner runner = Request.classes(StackTest.class).getRunner();
RunNotifier notifier = new RunNotifier();
Result result= new Result();
RunListener listener= result.createListener();
notifier.addListener(listener);
notifier.addListener(...); // add your listener
notifier.fireTestRunStarted(runner.getDescription());
runner.run(fNotifier);
notifier.fireTestRunFinished(result);
}
}