net.sourceforge.cobertura.ant
public abstract class CommonMatchingTask extends MatchingTask
Field Summary | |
---|---|
String | className |
List | fileSets |
Java | java |
String | maxMemory |
Constructor Summary | |
---|---|
CommonMatchingTask(String className) |
Method Summary | |
---|---|
void | addFileset(FileSet fileSet) |
String | baseDir(FileSet fileSet) |
void | createArgumentsForFilenames(CommandLineBuilder builder, String[] filenames) |
protected void | createArgumentsForFilesets(CommandLineBuilder builder)
We replace %20 with a space character because, for some
reason, when we call Cobertura from within CruiseControl,
the classpath here contains %20's instead of spaces. |
Path | createClasspath() |
String | getClassName() |
DirectoryScanner | getDirectoryScanner(FileSet fileSet) |
String[] | getExcludedFiles(FileSet fileSet) |
String[] | getFilenames(FileSet fileSet) |
String[] | getIncludedFiles(FileSet fileSet) |
protected Java | getJava() |
void | setClasspath(Path classpath) |
void | setClasspathRef(Reference r) |
void | setMaxMemory(String maxMemory) |
Parameters: maxMemory Assumed to be something along the lines of 100M or 50K or 1G.