214 |
|
</copy> |
215 |
|
<copy tofile="${deployDir}/index.html" |
216 |
|
file="${basedir}/etc/anthill-index.html"/> |
217 |
– |
<mkdir dir="${deployDir}/notes}"/> |
217 |
|
<copy todir="${deployDir}/notes"> |
218 |
|
<fileset dir="${basedir}/etc/notes"/> |
219 |
|
</copy> |
324 |
|
<bootclasspath refid="javac.bootclasspath"/> |
325 |
|
<compilerarg line="${javac.args} ${build.warnings.option}"/> |
326 |
|
<classpath refid="test.classpath"/> |
328 |
– |
<include name="**/*Test.java"/> |
327 |
|
|
328 |
|
</javac> |
329 |
|
</target> |
338 |
|
dir="${build.reports.dir}" |
339 |
|
fork="true"> |
340 |
|
|
341 |
< |
<jvmarg value="-Xbootclasspath/p:${product.jar}"/> |
342 |
< |
|
343 |
< |
<classpath> |
344 |
< |
<!-- <path refid="test.classpath"/> --> |
345 |
< |
<pathelement location="${build.testcases.dir}"/> |
348 |
< |
</classpath> |
341 |
> |
<!-- |
342 |
> |
! This nastiness is so JUnit can test classes we are inserting |
343 |
> |
! into the java.* packages. |
344 |
> |
--> |
345 |
> |
<jvmarg value="-Xbootclasspath/p:${product.jar};${build.testcases.dir};${junit.jar}"/> |
346 |
|
|
347 |
|
<formatter type="xml"/> |
348 |
|
|
383 |
|
<!-- FIXME: this test isn't specific enough --> |
384 |
|
<available property="junit.available" |
385 |
|
classname="junit.framework.TestCase"/> |
386 |
< |
<fail message="Need JUnit 1.8 to run tests" unless="junit.available"/> |
386 |
> |
<fail message="Need JUnit 3.8 to run tests" unless="junit.available"/> |
387 |
|
</target> |
388 |
|
|
389 |
|
|