Index: build.properties.default =================================================================== --- build.properties.default (revision 1537907) +++ build.properties.default (working copy) @@ -61,6 +61,8 @@ compile.target=1.7 compile.debug=true +cobertura.enabled=false + base-apache.loc.1=http://www.apache.org/dist base-apache.loc.2=http://archive.apache.org/dist base-commons.loc.1=${base-apache.loc.1}/commons @@ -239,5 +241,12 @@ dojo-js.loc=http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1.tar.gz dojo-js.jar=${dojo-js.home}/dojo/dojo.js +# ----- Cobertura code coverage tool ----- +cobertura.version=2.0.3 +cobertura.home=${base.path}/cobertura-${cobertura.version} +cobertura.jar=${cobertura.home}/cobertura-${cobertura.version}.jar +cobertura.lib=${cobertura.home}/lib +cobertura.loc=${base-sf.loc}/cobertura/cobertura-2.0.3-bin.tar.gz + # ----- JVM settings for unit tests java.net.preferIPv4Stack=false \ No newline at end of file Index: build.xml =================================================================== --- build.xml (revision 1537907) +++ build.xml (working copy) @@ -185,6 +185,13 @@ + + + + + + + @@ -1268,19 +1275,19 @@ + depends="test-compile,deploy,cobertura-instrument" if="${execute.test.bio}"> + depends="test-compile,deploy,cobertura-instrument" if="${execute.test.nio}"> @@ -1300,7 +1307,7 @@ description="The extension to use to distinguish the output"/> - @@ -1311,12 +1318,17 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2595,7 +2648,21 @@ + + + + + + + + + + + + +