Panto is parallel ant operations... Oh no it isn't!
Oh yes it is, you can download here.
Panto's striped resources allow for parallelisation of many ant tasks.
<typedef name="stripedresources"
classname="org.netmelody.panto.type.StripedResourceCollection"
classpath="path/to/panto-0.0.1.jar" />
<fileset id="test.files" dir="my/test/dir" includes="**/*Test.class" />
<parallel>
<junit>
<batchtest>
<stripedresources stripeCount="2" stripeNum="1">
<fileset refid="test.files"/>
</stripedresources>
</batchtest>
</junit>
<junit>
<batchtest>
<stripedresources stripeCount="2" stripeNum="2">
<fileset refid="test.files"/>
</stripedresources>
</batchtest>
</junit>
</parallel>
Panto's parallel JUnit task makes parallelising junit tests easy.
<taskdef name="paralleljunit"
classname="org.netmelody.panto.task.ParallelJUnitTask"
classpath="path/to/panto-0.0.1.jar" />
<paralleljunit>
<junit /> <!-- substitute your normal junit ant task here -->
</paralleljunit>