• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..16-May-20177

build.xmlH A D18-Jul-20168.2 KiB

READMEH A D18-Jul-2016986

README

1The Ant build.xml file in this directory compiles all db Java sources (except
2examples), runs the test suite using Clover to instrument the sources, and then
3generates the Clover coverage reports.
4
5You must place clover.jar in your Ant lib directory as well as placing
6clover.jar and velocity.jar in this directory.  (Using a classpathref in the
7Ant javac task doesn't seem to work.)
8
9$ cp <YOUR-CLOVER-INSTALL>/clover.jar .
10$ cp <YOUR-CLOVER-INSTALL>/velocity.jar .
11$ cp clover.jar <YOUR-ANT-DIRECTORY>/lib
12$ ant all
13
14'ant all' will delete all output files, compile and run the tests, and then
15generate the reports.
16
17'ant' will compile sources that need compiling and run the tests to collect
18coverage information.
19
20'ant report' will generate the reports against the current coverage database.
21
22The build.xml file works when run from db/test/scr024/coverage but it should
23also work when run from a build directory copied by the TCL test harness, e.g.,
24db/build_unix/TESTDIR/coverage.
25
26