--- a/java/build.common.xml Wed Mar 30 18:53:20 2016 +0100
+++ b/java/build.common.xml Wed Mar 30 21:45:33 2016 +0100
@@ -125,10 +125,8 @@
<target name="test.run.main" if="${build.src-tests.dir.present}">
<mkdir dir="${test.report.dir}"/>
- <junit failureproperty="test.failure">
- <classpath>
- <path refid="test.classpath"/>
- </classpath>
+ <junit fork="yes" failureproperty="test.failure">
+ <classpath refid="test.classpath"/>
<formatter type="plain"/>
<batchtest todir="${test.report.dir}">
<fileset dir="${build.src-tests.dir}">