Home | Forums

<clover-view>

Description

Launches the Swing coverage viewer. The Ant build will pause until the viewer is closed.

Parameters

Attribute Description Required
initstring The initstring of the coverage database. No; If not specified here, you must ensure <clover-setup> is called prior the execution of this task.
span Specifies how far back in time to include coverage recordings from since the last Clover build. See Using Spans. No; Defaults to "0s".
tabwidth Specifies tabwidth to use when rendering source files. No;

Nested elements

<sourcepath>

Specifies a Ant path that Clover should use when looking for source files.

Examples

  <clover-view/>

Launches the viewer.

  <clover-view>
     <sourcepath>
        <pathelement path="/some/other/location"/>
     </sourcepath>
  </clover-view>
              

Launches the viewer. Clover will look for source files in the directory /some/other/location