Improve build scripts for code coverage.

This commit is contained in:
James Roseborough
2010-07-20 16:33:08 +00:00
parent b806a23bc3
commit b1b96e4e6c
2 changed files with 4 additions and 6 deletions

View File

@@ -50,7 +50,6 @@
<classpath refid="cobertura.classpath" /> <classpath refid="cobertura.classpath" />
<classpath refid="wtk-libs" /> <classpath refid="wtk-libs" />
<classpath path="lib/bcel-5.2.jar" /> <classpath path="lib/bcel-5.2.jar" />
<classpath path="lib/luaj-j2se-1.0.3.jar" />
<src path="src/core"/> <src path="src/core"/>
<src path="src/jme"/> <src path="src/jme"/>
<src path="src/jse"/> <src path="src/jse"/>
@@ -84,7 +83,6 @@
<classpath location="src/test/res" /> <classpath location="src/test/res" />
<classpath refid="cobertura.classpath" /> <classpath refid="cobertura.classpath" />
<classpath path="lib/bcel-5.2.jar" /> <classpath path="lib/bcel-5.2.jar" />
<classpath path="lib/luaj-j2se-1.0.3.jar" />
<formatter type="xml" /> <formatter type="xml" />
<batchtest todir="${reports.xml.dir}"> <batchtest todir="${reports.xml.dir}">
<fileset dir="test/junit"> <fileset dir="test/junit">

View File

@@ -16,7 +16,7 @@
</target> </target>
<available file="lib/bcel-5.2.jar" property="bcel.lib.exists"/> <available file="lib/bcel-5.2.jar" property="bcel.lib.exists"/>
<available file="lib/luaj-j2se-1.0.3.jar" property="luaj1.lib.exists"/> <available file="lib/luaj-j2se-1.0.4.jar" property="luaj1.lib.exists"/>
<available file="lib/javacc.jar" property="javacc.lib.exists"/> <available file="lib/javacc.jar" property="javacc.lib.exists"/>
<target name="bcel-lib" unless="bcel.lib.exists"> <target name="bcel-lib" unless="bcel.lib.exists">
@@ -33,9 +33,9 @@
</target> </target>
<target name="luaj1-lib" unless="luaj1.lib.exists"> <target name="luaj1-lib" unless="luaj1.lib.exists">
<get src="http://downloads.sourceforge.net/project/luaj/luaj/1.0.3/luaj-1.0.3.zip" <get src="http://downloads.sourceforge.net/project/luaj/luaj-1.0/1.0.4/luaj-1.0.4.zip"
dest="lib/luaj-1.0.3.zip"/> dest="lib/luaj-1.0.4.zip"/>
<unzip src="lib/luaj-1.0.3.zip" dest="lib" overwrite="true"> <unzip src="lib/luaj-1.0.4.zip" dest="lib" overwrite="true">
<patternset> <patternset>
<include name="**/*.jar"/> <include name="**/*.jar"/>
</patternset> </patternset>