java/build.common.xml
changeset 3545 c67aed4cfdbc
parent 3542 f3a6a43a53a1
child 3733 2f5f3724897b
--- 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}">