build.xml revision 735
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" />
675N/A location="${cvgdiff.dir}/report" />
422N/A location="${coverage.dir}/reports/unit" />
422N/A location="${coverage.dir}/instrumentedcode" />
422N/A location="${coverage.dir}/gathereddata" />
110N/A location="${resource.dir}/DynamicConstants.java.stubs" />
735N/A <target name="precommit" depends="checkstyle,clean,copyrightdates,eolstyle,dsml,javadoc,testwithcoverage"
121N/A <!-- Perform common initialization common to several targets after cleaning out the previous build environment. -->
0N/A ! java.vm.vendor property, which wreaks havoc with DynamicConstants. This
729N/A <!-- Build the DynamicConstants.java file and any of its dependencies. -->
109N/A <!-- Generate the DynamicConstants.java file.
109N/A VERSION_QUALIFIER, FIX_IDS, timestamp, user.name, java.version,
729N/A java.vendor, java.vm.version, JVM_VENDOR, DEBUG_BUILD, REVISION_NUMBER
109N/A tofile="${dynconstants.file}"
0N/A classpath="${checkstyle.dir}/checkstyle-all-4.1.jar" />
712N/A excludes="**/package-info.java"
619N/A includes="**/DynamicConstants.class **/SetupUtils.class" />
0N/A ! DynamicConstants.java won't be regenerated.
0N/A location="${package.dir}/OpenDS-${pkgversion}" />
0N/A <!-- Clean up a minimal set of files/directories for the rebuild. -->
0N/A <!-- Generate the OpenDS.jar file -->
619N/A includes="**/DynamicConstants.class **/SetupUtils.class"/>
563N/A <!-- Generate the quicksetup.jar file -->
712N/A <!-- Generate the statuspanel.jar file -->
0N/A location="${package.dir}/OpenDS-${pkgversion}" />
623N/A excludes="OpenDS-${pkgversion}/bin/*,OpenDS-${pkgversion}/setup,OpenDS-${pkgversion}/uninstall"
623N/A <zipfileset dir="${package.dir}" includes="OpenDS-${pkgversion}/setup,OpenDS-${pkgversion}/uninstall"
564N/A classpath="${build.dir}/build-tools/build-tools.jar" />
233N/A tofile="${unittest.resource.dir}/testng.xml"
712N/A grouplist="${test.groups}"
567N/A packagelist="${test.packages}"
712N/A classList="${test.classes}"
567N/A methodList="${test.methods}" />
712N/A then we overwrite the testng.xml that we just generated
712N/A with testng-failed.xml, which TestNG generated. -->
712N/A file="${unittest.report.dir}/testng-failed.xml"/>
712N/A unless="testng-failed.xml.exists"/>
712N/A tofile="${unittest.resource.dir}/testng.xml"
675N/A outputpath="${cvgdiff.report.dir}"
712N/A diffpath="${test.diff.srcpath}"
699N/A enabled="${test.diff.enabled}"
699N/A verbose="${test.diff.verbose}" />
712N/A <echo message="This target is deprecated. Please use the test target as it now supports the test.* properties." />
712N/A description="Run all of the TestNG tests (including 'slow' ones) with assertions enabled. See 'testwithcoverage' for properties you can set.">
712N/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.">
699N/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.">
233N/A <!-- Execute the Directory Server TestNG unit tests in text mode with a coverage report and slow tests. -->
318N/A <!-- Execute the Directory Server TestNG unit tests specified from CLI in text mode with a coverage report. -->
675N/A <echo message="This target is deprecated. Please use the testwithcoverage target as it now supports the test.* properties." />
121N/A <!-- Internal target to execute the Directory Server TestNG unit tests in text mode after everything has been initialized. -->
503N/A <!-- This sets org.opends.test.suppressOutput if and only if it's not
712N/A <!-- Cleanout the old reports. Otherwise, the old testng-failed.xml
712N/A listeners="org.opends.server.TestListener org.testng.reporters.FailedReporter"
712N/A file="${unittest.report.dir}/.tests-failed-marker"/>