26 |
|
|
27 |
<target name="resolve" depends="init" description="--> retrieve dependencies with ivy"> |
<target name="resolve" depends="init" description="--> retrieve dependencies with ivy"> |
28 |
<ivy:retrieve /> |
<ivy:retrieve /> |
29 |
|
<copy file="lib/jstl-1.2.jar" todir="WebContent/WEB-INF/lib/" /> |
30 |
</target> |
</target> |
31 |
|
|
32 |
<target name="compile" depends="init,libs,resolve"> |
<target name="compile" depends="init,libs,resolve"> |
43 |
</target> |
</target> |
44 |
|
|
45 |
<target name="test" depends="compile"> |
<target name="test" depends="compile"> |
46 |
<mkdir dir="${reports.tests}"/> |
<mkdir dir="reports_tests"/> |
47 |
|
|
48 |
<junit printsummary="yes" haltonfailure="yes"> |
<junit printsummary="yes" haltonfailure="yes"> |
49 |
<classpath refid="path.base" /> |
<classpath refid="path.base" /> |
50 |
|
<classpath> <pathelement location="antbuild/"/> </classpath> |
51 |
|
|
52 |
<formatter type="plain"/> |
<formatter type="plain"/> |
53 |
|
|
54 |
<batchtest fork="yes" todir="${reports.tests}"> |
<batchtest fork="yes" todir="reports_tests"> |
55 |
<fileset dir="src/test"> |
<fileset dir="src/"> |
56 |
<include name="**/*.java"/> |
<include name="**/*Test*.java"/> |
57 |
</fileset> |
</fileset> |
58 |
</batchtest> |
</batchtest> |
59 |
</junit> |
</junit> |