build.xml revision 730
0N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
712N/A location="${unittest.testng.dir}/src/server"/>
0N/A location="${build.dir}/unit-tests/classes" />
0N/A location="${build.dir}/unit-tests/report"/>
233N/A location="${build.dir}/unit-tests/resource"/>
114N/A <!-- Properties for use in functional/integration testing. -->
114N/A location="tests/integration-tests-testng" />
114N/A location="${functest.testng.dir}/src"/>
567N/A location="${build.dir}/quicksetup/classes" />
712N/A location="${build.dir}/statuspanel/classes" />
712N/A location="${cvgdiff.dir}/report" />
712N/A location="${coverage.dir}/reports/unit" />
0N/A location="${coverage.dir}/instrumentedcode" />
0N/A location="${coverage.dir}/gathereddata" />
729N/A location="${resource.dir}/DynamicConstants.java.stubs" />
1008N/A <target name="precommit" depends="checkstyle,clean,copyrightdates,dsml,javadoc,testwithcoverage"
1177N/A <!-- Perform common initialization common to several targets after cleaning out the previous build environment. -->
1273N/A ! java.vm.vendor property, which wreaks havoc with DynamicConstants. This
1273N/A <!-- Build the DynamicConstants.java file and any of its dependencies. -->
0N/A <!-- Generate the DynamicConstants.java file.
0N/A VERSION_QUALIFIER, FIX_IDS, timestamp, user.name, java.version,
0N/A java.vendor, java.vm.version, JVM_VENDOR, DEBUG_BUILD, REVISION_NUMBER
0N/A tofile="${dynconstants.file}"
729N/A classpath="${checkstyle.dir}/checkstyle-all-4.1.jar" />
729N/A excludes="**/package-info.java"
735N/A includes="**/DynamicConstants.class **/SetupUtils.class" />
712N/A ! DynamicConstants.java won't be regenerated.
114N/A location="${package.dir}/OpenDS-${pkgversion}" />
114N/A <!-- Clean up a minimal set of files/directories for the rebuild. -->
1083N/A <!-- Generate the OpenDS.jar file -->
902N/A includes="**/DynamicConstants.class **/SetupUtils.class"/>
902N/A <!-- Generate the quicksetup.jar file -->
1210N/A <!-- Generate the statuspanel.jar file -->
1008N/A location="${package.dir}/OpenDS-${pkgversion}" />
1083N/A excludes="OpenDS-${pkgversion}/bin/*,OpenDS-${pkgversion}/setup,OpenDS-${pkgversion}/uninstall"
0N/A <zipfileset dir="${package.dir}" includes="OpenDS-${pkgversion}/setup,OpenDS-${pkgversion}/uninstall"
499N/A classpath="${build.dir}/build-tools/build-tools.jar" />
499N/A tofile="${unittest.resource.dir}/testng.xml"
0N/A grouplist="${test.groups}"
0N/A packagelist="${test.packages}"
0N/A classList="${test.classes}"
1177N/A methodList="${test.methods}" />
0N/A then we overwrite the testng.xml that we just generated
0N/A with testng-failed.xml, which TestNG generated. -->
0N/A file="${unittest.report.dir}/testng-failed.xml"/>
0N/A unless="testng-failed.xml.exists"/>
0N/A tofile="${unittest.resource.dir}/testng.xml"
0N/A outputpath="${cvgdiff.report.dir}"
0N/A diffpath="${test.diff.srcpath}"
0N/A enabled="${test.diff.enabled}"
0N/A verbose="${test.diff.verbose}" />
0N/A <echo message="This target is deprecated. Please use the test target as it now supports the test.* properties." />
0N/A description="Run all of the TestNG tests (including 'slow' ones) with assertions enabled. See 'testwithcoverage' for properties you can set.">
0N/A description="Execute the Directory Server TestNG unit tests in text mode. Set '-Dorg.opends.test.suppressOutput=false' to see the output from the unit tests. Set '-Dtest.failures=true' to run only the tests that failed previously.">
0N/A description="Execute the Directory Server TestNG unit tests in text mode with a coverage report. Use -Dtest.packages, -Dtest.classes, or -Dtest.methods to control which unit tests are run. Use -Dtest.diff.srcpath to control which src files show up in the coverage diff. See the 'test' package for other properties you can set.">
121N/A <!-- Execute the Directory Server TestNG unit tests in text mode with a coverage report and slow tests. -->
0N/A <!-- Execute the Directory Server TestNG unit tests specified from CLI in text mode with a coverage report. -->
0N/A <echo message="This target is deprecated. Please use the testwithcoverage target as it now supports the test.* properties." />
0N/A <!-- Internal target to execute the Directory Server TestNG unit tests in text mode after everything has been initialized. -->
675N/A <!-- This sets org.opends.test.suppressOutput if and only if it's not
675N/A <!-- Cleanout the old reports. Otherwise, the old testng-failed.xml
675N/A listeners="org.opends.server.TestListener org.testng.reporters.FailedReporter"
712N/A file="${unittest.report.dir}/.tests-failed-marker"/>