<?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>
    &lt;taskdef resource=&quot;ant-grobocoverage.properties&quot;/&gt;
</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>&lt;zip&gt;</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
        &lt;logsettings&gt; 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>&lt;coveragereport&gt;</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>

