27 |
</javac> |
</javac> |
28 |
</target> |
</target> |
29 |
|
|
30 |
<target name="jar" depends="compile"> |
|
31 |
|
<target name="test" depends="compile"> |
32 |
|
<javac srcdir="test/" includeantruntime="false"> |
33 |
|
<classpath refid="path.base" /> |
34 |
|
<classpath path="${builddir}"/> |
35 |
|
</javac> |
36 |
|
|
37 |
|
<junit printsummary="on" |
38 |
|
fork="false" |
39 |
|
haltonfailure="true" |
40 |
|
showoutput="true" > |
41 |
|
|
42 |
|
<classpath refid="path.base" /> |
43 |
|
<classpath path="${builddir}"/> |
44 |
|
<classpath path="test"/> |
45 |
|
|
46 |
|
<test name="dk.thoerup.circuitbreaker.TestCircuitBreaker" /> |
47 |
|
<test name="dk.thoerup.circuitbreaker.TestAccountingCircuitBreaker" /> |
48 |
|
|
49 |
|
</junit> |
50 |
|
</target> |
51 |
|
|
52 |
|
<target name="jar" depends="test"> |
53 |
<jar destfile="${jarfile}" basedir="${builddir}" /> |
<jar destfile="${jarfile}" basedir="${builddir}" /> |
54 |
</target> |
</target> |
55 |
|
|