|
9 | 9 | <!-- |
10 | 10 | URL from which junit.jar can be retrieved |
11 | 11 | --> |
12 | | - <property name="test.junit.url" value="http://mirrors.ibiblio.org/pub/mirrors/maven2/junit/junit/4.5/junit-4.5.jar"/> |
| 12 | + <property name="test.junit.url" value="http://mirrors.ibiblio.org/pub/mirrors/maven2/junit/junit/4.10/junit-4.10.jar"/> |
| 13 | + |
| 14 | + <!-- |
| 15 | + URL from which emma.jar can be retrieved |
| 16 | + --> |
| 17 | + <property name="test.emma.url" value="http://mirrors.ibiblio.org/pub/mirrors/maven2/emma/emma/2.1.5320/emma-2.1.5320.jar"/> |
| 18 | + |
| 19 | + <!-- |
| 20 | + URL from which emma_ant.jar can be retrieved |
| 21 | + --> |
| 22 | + <property name="test.emma_ant.url" value="http://mirrors.ibiblio.org/pub/mirrors/maven2/emma/emma_ant/2.1.5320/emma_ant-2.1.5320.jar"/> |
13 | 23 |
|
14 | 24 | <!-- |
15 | 25 | Destination to which testing classes should be built |
|
32 | 42 | <property name="test.vm.mx" value="256m" /> |
33 | 43 |
|
34 | 44 | <target name="get-junit"> |
35 | | - <mkdir dir="lib"/> |
36 | | - <get src="${test.junit.url}" dest="lib/junit.jar" usetimestamp="true"/> |
| 45 | + <mkdir dir="lib"/> |
| 46 | + <get src="${test.junit.url}" dest="lib/junit.jar" usetimestamp="true" skipexisting="true"/> |
37 | 47 | </target> |
38 | 48 |
|
39 | 49 | <target name="junit-compile"> |
40 | 50 | <mkdir dir="${test.classes}" /> |
41 | | - <antcall target="get-junit"/> |
| 51 | + <antcall target="get-junit"/> |
42 | 52 | <javac |
43 | 53 | destdir="${test.classes}" debug="true" |
44 | 54 | target="${target-jvm}" |
|
86 | 96 | </target> |
87 | 97 |
|
88 | 98 | <target name="coverage-instrument"> |
89 | | - <get src="http://mirrors.ibiblio.org/pub/mirrors/maven2/emma/emma/2.0.5312/emma-2.0.5312.jar" dest="lib/emma.jar" usetimestamp="true"/> |
90 | | - <get src="http://mirrors.ibiblio.org/pub/mirrors/maven2/emma/emma_ant/2.0.5312/emma_ant-2.0.5312.jar" dest="lib/emma_ant.jar" usetimestamp="true"/> |
| 99 | + <get src="${test.emma.url}" dest="lib/emma.jar" usetimestamp="true" skipexisting="true"/> |
| 100 | + <get src="${test.emma_ant.url}" dest="lib/emma_ant.jar" usetimestamp="true" skipexisting="true"/> |
91 | 101 | <property name="coverage.dir" location="${build.dir}/coverage"/> |
92 | 102 | <property name="coverage.classes.dir" location="${build.dir}/coverage/classes"/> |
93 | 103 | <mkdir dir="${coverage.classes.dir}"/> |
|
0 commit comments