net.sourceforge.groboutils.codecoverage.v2.ant
Class CoveragePostCompilerTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.sourceforge.groboutils.codecoverage.v2.ant.CoveragePostCompilerTask

Deprecated. Please use the GroboInstrumentTask instead of this one.

public class CoveragePostCompilerTask
extends org.apache.tools.ant.Task

Ant task the compiles the class files into coverage files. Now, also generates the properties file for you.

Since:
December 18, 2002
Version:
$Date: 2004/04/15 05:48:25 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Nested Class Summary
static class CoveragePostCompilerTask.Configuration
          Deprecated.  
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
CoveragePostCompilerTask()
          Deprecated.  
 
Method Summary
 void addFileSet(org.apache.tools.ant.types.FileSet fs)
          Deprecated. Add a new fileset instance to this compilation.
 AnalysisModuleType createAnalysisModule()
          Deprecated. Creates a new analysis module.
 CoveragePostCompilerTask.Configuration createLogSettings()
          Deprecated. Create the property file settings.
 void execute()
          Deprecated. Perform the task
 void setDataDir(java.io.File f)
          Deprecated. Sets the directory in which all the data accumulated from the post compilation step will be placed.
 void setOutClassDir(java.io.File f)
          Deprecated. Sets the directory in which all the recompiled class files will be placed.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoveragePostCompilerTask

public CoveragePostCompilerTask()
Deprecated. 
Method Detail

addFileSet

public void addFileSet(org.apache.tools.ant.types.FileSet fs)
Deprecated. 
Add a new fileset instance to this compilation. Whatever the fileset is, only filename that are .class will be considered as 'candidates'. Currently, jar files are not read; you'll have to uncompress them to a directory before running this step.

Parameters:
fs - the new fileset containing the rules to get the testcases.

setDataDir

public void setDataDir(java.io.File f)
Deprecated. 
Sets the directory in which all the data accumulated from the post compilation step will be placed. This should be a directory dedicated just to the output data.


setOutClassDir

public void setOutClassDir(java.io.File f)
Deprecated. 
Sets the directory in which all the recompiled class files will be placed. This directory should never be confused with the original class file location.


createAnalysisModule

public AnalysisModuleType createAnalysisModule()
Deprecated. 
Creates a new analysis module.


createLogSettings

public CoveragePostCompilerTask.Configuration createLogSettings()
                                                         throws org.apache.tools.ant.BuildException
Deprecated. 
Create the property file settings.

Throws:
org.apache.tools.ant.BuildException

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Deprecated. 
Perform the task

Throws:
org.apache.tools.ant.BuildException


Copyright © 2001-2003 by The GroboUtils Project