Source

oscache / build.xml

Diff from to

build.xml

         <!-- Clear out any previous persistent cache directory -->
         <delete dir="${test.cache.path}" failonerror="false"/>
 
-        <junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
+        <junit printsummary="yes" haltonfailure="no" haltonerror="yes" fork="yes">
             <classpath>
                 <pathelement location="${build.test.dir}"/>
                 <path refid="plugins.cp"/>
         <!-- Clear out any previous persistent cache directory -->
         <delete dir="${test.cache.path}" failonerror="false"/>
 
-        <junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
+        <junit printsummary="yes" haltonfailure="no" haltonerror="yes" fork="yes">
             <classpath>
                 <pathelement location="${build.test.dir}"/>
                 <path refid="plugins.cp"/>
 
         <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
 
-        <junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
+        <junit printsummary="yes" haltonfailure="no" haltonerror="yes" fork="yes">
             <sysproperty key="test.web.baseURL" value="${test.web.baseURL}"/>
             <classpath>
                 <pathelement location="${build.test.dir}"/>
         <mkdir dir="${build.test.dir}"/>
 
         <taskdef resource="clovertasks"/>
-        <javac srcdir="${src.core}/java" destdir="${build.test.dir}" debug="${debug}" classpathref="cp" compiler="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"/>
-        <javac srcdir="${src.core}/test" destdir="${build.test.dir}" debug="${debug}" classpathref="cp"/>
-        <javac srcdir="${src.plugins}/clustersupport/java" destdir="${build.test.dir}" debug="${debug}" classpathref="plugins.cp" compiler="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"/>
-        <javac srcdir="${src.plugins}/clustersupport/test" destdir="${build.test.dir}" debug="${debug}" classpathref="plugins.cp"/>
-        <javac srcdir="${src.plugins}/diskpersistence/java" destdir="${build.test.dir}" debug="${debug}" classpathref="plugins.cp" compiler="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"/>
-        <javac srcdir="${src.plugins}/diskpersistence/test" destdir="${build.test.dir}" debug="${debug}" classpathref="plugins.cp"/>
-
+        <javac destdir="${build.test.dir}" debug="${debug}" classpathref="plugins.cp" compiler="org.apache.tools.ant.taskdefs.CloverCompilerAdapter">
+        	<src path="${src.core}/java"/>
+        	<src path="${src.plugins}/diskpersistence/java"/>
+        	<src path="${src.plugins}/clustersupport/java"/>
+        </javac>
+    	<javac destdir="${build.test.dir}" debug="${debug}" classpathref="plugins.cp">
+    		<src path="${src.core}/test"/>
+        	<src path="${src.plugins}/diskpersistence/test"/>
+        	<src path="${src.plugins}/clustersupport/test"/>
+        </javac>
+    	
         <!-- Run tests using Memory Cache Only -->
         <copy file="${src.core}/test/oscacheMemoryOnly.properties" tofile="${build.test.dir}/oscache.properties" overwrite="yes"/>
         <echo message="Running tests with memory cache only" level="info"/>