Fix build-coverage to include WTK libraries (needed for J2ME math tests.)

This commit is contained in:
Ian Farmer
2008-07-24 06:35:17 +00:00
parent 27c7156e68
commit 7f1c388919
3 changed files with 33 additions and 27 deletions

View File

@@ -20,7 +20,9 @@
</path>
<taskdef classpathref="cobertura.classpath" resource="tasks.properties" />
<import file="wtk.xml"/>
<target name="clean" description="Remove all files created by the build/test process.">
<delete dir="build" failonerror="no"/>
<delete file="cobertura.log" />
@@ -36,9 +38,10 @@
<mkdir dir="${coverage.html.dir}" />
</target>
<target name="compile" depends="init">
<target name="compile" depends="init,wtk-or-fail">
<javac destdir="${classes.dir}" debug="yes" target="1.5">
<classpath refid="cobertura.classpath" />
<classpath refid="wtk-libs" />
<src path="src/core"/>
<src path="src/debug"/>
<src path="src/j2me"/>
@@ -96,4 +99,4 @@
<target name="all" depends="clean,init,compile,instrument,test,coverage" />
</project>
</project>