Source

oscache / build.xml

Diff from to

File build.xml

         <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"/>