Name

jpcoverage

Synopsis

Executes the JProbe Coverage tool, which runs a class and analyzes which lines of code are executed. This task is designed to work with JProbe Suite Server Side Version 3.0, which is available at http://www.sitraka.com.

Attributes

applet (1.4, boolean, N)

If true, indicates that the classname attribute specifies an applet. Defaults to false.

classname (1.4, String, Y)

The class to analyze.

exitprompt (1.4, String, N,)

Controls when the console prompt displays “Press Enter to close this window.” Legal values are always, never, and error. Defaults to never.

finalsnapshot (1.4, String, N)

Configures the type of snapshot to take when the program ends. Legal values are none, coverage, and all. Defaults to coverage.

home (1.4, File, Y)

The directory in which JProbe is installed.

inputfile (1.4, File, N)

A JProbe Coverage parameter file. If specified, all other attributes are ignored.

javaexe (1.4, File, N)

The path to the java executable. Only used when vm="java2".

recordfromstart (1.4, Enum, N)

Configures the analysis performed when the program starts. Legal values are none, coverage, and all. Defaults to coverage.

seedname (1.4, String, N)

The base name for temporary snapshot files. If this attribute is foo, files are named foo.jpc, foo1.jpc, foo2.jpc, etc. Defaults to snapshot.

snapshotdir (1.4, File, N)

The destination directory for snapshots. Defaults to the project base directory.

tracknatives (1.4, boolean, N)

If true, the task tracks native methods. Defaults to false ...

Get Ant: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.