Author: erwan
Date: Wed Jun 8 13:24:58 2011
New Revision: 1133393
URL:
http://svn.apache.org/viewvc?rev=1133393&view=revLog:
Applied fix from trunk for revision: 1133353
===
Making run-tests not using cobertura, and creating a new separate target if you want code coverage: run-tests-with-cobertura
Modified:
ofbiz/branches/release11.04/ (props changed)
ofbiz/branches/release11.04/build.xml
Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Jun 8 13:24:58 2011
@@ -2,4 +2,4 @@
/ofbiz/branches/dojo1.4:951708-952957
/ofbiz/branches/jquery:952958-1044489
/ofbiz/branches/multitenant20100310:921280-927264
-/ofbiz/trunk:1100197,1100880,1104423,1131144,1131396,1132496,1132749
+/ofbiz/trunk:1100197,1100880,1104423,1131144,1131396,1132496,1132749,1133353
Modified: ofbiz/branches/release11.04/build.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/build.xml?rev=1133393&r1=1133392&r2=1133393&view=diff==============================================================================
--- ofbiz/branches/release11.04/build.xml (original)
+++ ofbiz/branches/release11.04/build.xml Wed Jun 8 13:24:58 2011
@@ -75,6 +75,7 @@ under the License.
<antcall target="clean-catalina"/>
<antcall target="clean-cache"/>
<antcall target="clean-tempfiles"/>
+ <antcall target="clean-downloads"/>
<antcall target="clean"/>
</target>
@@ -662,8 +663,8 @@ under the License.
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091"/>
</java>
</target>
- <target name="run-tests" depends="download-cobertura, build"
- description="Run OFBiz default tests, execute ant run-install before and see results in runtime/logs/test-results/html/all-tests.html. You will need a valid Internet connection to download cobertura">
+ <target name="run-tests" depends="build"
+ description="Run OFBiz default tests, execute ant run-install before and see results in runtime/logs/test-results/html/all-tests.html.">
<java jar="ofbiz.jar" fork="true" resultproperty="test.result">
<jvmarg value="${memory.initial.param}"/>
<jvmarg value="${memory.max.param}"/>
@@ -687,6 +688,9 @@ under the License.
</fail>
</target>
+ <target name="run-tests-with-cobertura" depends="download-cobertura, build, run-tests"
+ description="Same as run-tests but downloads cobertura and performs code coverage. You will need a valid Internet connection to download cobertura"/>
+
<target name="_check-separated-tests-already-setup">
<available file="runtime/test-list-build.xml" property="_separated-tests-already-setup"/>
</target>