Author: doogie
Date: Sat Mar 21 21:43:24 2009 New Revision: 757032 URL: http://svn.apache.org/viewvc?rev=757032&view=rev Log: Some targets are private/internal; prefix those with '_'. Remove the description from those targets, as they aren't meant to be called externally. Add description values to the other test-based targets. Modified: ofbiz/trunk/build.xml Modified: ofbiz/trunk/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=757032&r1=757031&r2=757032&view=diff ============================================================================== --- ofbiz/trunk/build.xml (original) +++ ofbiz/trunk/build.xml Sat Mar 21 21:43:24 2009 @@ -385,27 +385,27 @@ <arg value="test"/> </java> </target> - <target name="save-runtime-data" description="Save OFBiz runtime data into a zipfile in the directory /runtime/data.zip"> + <target name="_save-runtime-data"> <delete file="runtime/data.zip"/> <zip zipfile="runtime/data.zip" compress="no"> <fileset dir="runtime/data"/> </zip> </target> - <target name="restore-runtime-data" description="Restore the OFBiz runtime data"> + <target name="_restore-runtime-data"> <delete dir="runtime/data"/> <mkdir dir="runtime/data"/> <unzip src="runtime/data.zip" dest="runtime/data"/> </target> - <target name="check-separated-tests-already-setup" description="?"> - <available file="runtime/test-list-build.xml" property="separated-tests-already-setup"/> + <target name="_check-separated-tests-already-setup"> + <available file="runtime/test-list-build.xml" property="_separated-tests-already-setup"/> </target> - <target name="setup-separated-test-run" depends="check-separated-tests-already-setup" unless="separated-tests-already-setup" description="?"> + <target name="_setup-separated-test-run" depends="_check-separated-tests-already-setup" unless="_separated-tests-already-setup"> <subant target="clean-data"> <filelist dir="." files="framework/build.xml"/> </subant> <antcall target="run-install"/> - <antcall target="save-runtime-data"/> + <antcall target="_save-runtime-data"/> <java jar="ofbiz.jar" fork="true"> <jvmarg value="${memory.initial.param}"/> <jvmarg value="${memory.max.param}"/> @@ -415,7 +415,7 @@ </java> </target> <target name="run-single-test" description="Run a single test"> - <antcall target="restore-runtime-data"/> + <antcall target="_restore-runtime-data"/> <java jar="ofbiz.jar" fork="true"> <jvmarg value="${memory.initial.param}"/> <jvmarg value="${memory.max.param}"/> @@ -430,7 +430,7 @@ </move> </target> <target name="run-single-test-suite" description="Run a single test suite"> - <antcall target="restore-runtime-data"/> + <antcall target="_restore-runtime-data"/> <java jar="ofbiz.jar" fork="true"> <jvmarg value="${memory.initial.param}"/> <jvmarg value="${memory.max.param}"/> @@ -439,7 +439,7 @@ <arg value="-suitename=${test.suiteName}"/> </java> </target> - <target name="run-test-list" depends="setup-separated-test-run" description="?"> + <target name="run-test-list" depends="_setup-separated-test-run" description="Run all configured tests, stopping/starting ofbiz between each test"> <delete dir="runtime/logs/test-results"/> <ant antfile="runtime/test-list-build.xml" target="all-tests"/> </target> |
Free forum by Nabble | Edit this page |