| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 
 | <?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<head>
    <name>What's New With CodeCoverage</name>
    <doc-version>$Date: 2004/04/17 08:24:40 $</doc-version>
    <author>Matt Albrecht</author>
</head>
<body>
<section>v1.1.0</section>
<p>
The source-linked report has been changed to look "neater".  Also, the
documentation has been improved to be (hopefully) more useful.
</p>
<p>
The "grobocoverage.properties" file, used for loading the Ant tasks,
has moved to the root directory and has a new name.  Now, you can load the
tasks with:
<pre>
    <taskdef resource="ant-grobocoverage.properties"/>
</pre>
Using this file will allow for the use of the new Ant tasks (the old ones
are deprecated, but still exist).
</p>
<p>
These new Ant tasks are:
    <ul>
        <definition term="grobo-instrument">
        <i>replaces <code>coveragepostcompiler</code></i>
        similar to the original, but includes more robust support for
        handling existing post-compiled class files and their data files.
        </definition>
        <definition term="grobo-report">
        <i>replaces <code>coveragereport</code></i>
        a bit like the original, but now better supports custom reporting
        styles, and failure cases (where the coverage totals do not
        meet the build requirements).
        </definition>
        <definition term="grobo-rezip">
        allows for the updating of zip-like files, similar to the original
        Ant <code><zip></code> task, but also supports updating
        zips within zips (for EAR file support).  This allows deployable
        archives to be easily modified to gather coverage numbers during
        unit tests.
        </definition>
    </ul>
</p>
<p>
Migration path for the new tasks:
    <ul>
        <definition term="coveragepostcompiler to grobo-instrument">
        Remove the "datadir" attribute.  Change the "logdir" attribute
        to point to the base directory of both the old "datadir" and
        "logdir".  Change "outputclassdir" to "destdir".  Replace the
        <logsettings> tag with a "logger" attribute.
        </definition>
        <definition term="coveragereport to grobo-report">
        Remove the "datadir" attribute.  Change the "logdir" attribute
        to point to the base directory of both the old "datadir" and
        "logdir".  Remove the "outdir" attribute.  Strip off the
        "style" part of the name from the "simplestyle" and
        "sourcestyle" tags.
        </definition>
    </ul>
This is just an outline.  See their corresponding Ant documentation for
more details.
</p>
<section>v1.0.0</section>
<p>
There haven't been changes to the Ant tasks, but the generated reports and
code coverage collectors have been improved to get more accurate results.
</p>
<section>v1.0.0RC4</section>
<p>
As of version 1.0.0RC4, the <code><coveragereport></code> task can now
performs the style operation.  It also generates another XML report that
contains all the coverage reports in one.  Another style has been created,
that generates a JavaDoc-like website that links the source code to the
coverage reports.
</p>
</body>
</document>
 |