Fix build-coverage to include WTK libraries (needed for J2ME math tests.)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user