Changeset 207 for liacs/TOOS/assignment1/build.xml
- Timestamp:
- Oct 25, 2010, 8:54:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
liacs/TOOS/assignment1/build.xml
r206 r207 6 6 <property name="classes.dir" value="${build.dir}/classes"/> 7 7 <property name="jar.dir" value="${build.dir}/jar"/> 8 <property name="report.dir" value="${build.dir}/junitreport"/> 9 8 10 <property name="javac.includeAntRuntime" value="false" /> 9 11 <property name="main-class" value="nl.rickvanderzwet.toos.assignment1.Census" /> 12 10 13 11 14 <path id="classpath"> 12 15 <fileset dir="${lib.dir}" includes="**/*.jar"/> 13 16 </path> 17 <path id="application" location="${jar.dir}/${ant.project.name}.jar" /> 14 18 15 19 … … 43 47 <classpath> 44 48 <path refid="classpath" /> 45 <path location="${jar.dir}/${ant.project.name}.jar"/>49 <path refid="application"/> 46 50 </classpath> 47 51 </java> 48 52 </target> 53 54 <target name="junit" depends="jar"> 55 <mkdir dir="${report.dir}" /> 56 <junit printsummary="yes"> 57 <classpath> 58 <path refid="classpath"/> 59 <path refid="application"/> 60 </classpath> 61 62 <formatter type="xml" /> 63 64 <batchtest fork="yes" todir="${report.dir}"> 65 <fileset dir="${src.dir}" includes="*Test.java"/> 66 </batchtest> 67 </junit> 68 </target> 69 70 <target name="junitreport"> 71 <junitreport todir="${report.dir}"> 72 <fileset dir="${report.dir}" includes="TEST-*.xml"/> 73 <report todir="${report.dir}"/> 74 </junitreport> 75 </target> 76 77 49 78 </project>
Note:
See TracChangeset
for help on using the changeset viewer.