1<project name="conform" default="test"> 2 3 <target name="test" if="java5"> 4 <junit fork="yes" 5 printsummary="yes" 6 errorproperty="test.failed" 7 failureproperty="test.failed"> 8 <batchtest fork="yes" todir="${out.test}/reports"> 9 <fileset dir="${test}/conform"> 10 <include name="**/AnnotationTest.java"/> 11 </fileset> 12 </batchtest> 13 <formatter type="xml"/> 14 <classpath refid="test.classpath"/> 15 <assertions> 16 <enable/> 17 </assertions> 18 </junit> 19 </target> 20 21</project> 22