Package org.openclover.ant.taskdefs
Class CloverCompilerAdapter
java.lang.Object
org.openclover.ant.taskdefs.CloverCompilerAdapter
- All Implemented Interfaces:
org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
public class CloverCompilerAdapter
extends Object
implements org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
error handling in this class sux - but it is forced on us by Ant, or more
precisely Javac, which doesn't respect Build exceptions thrown out of
setJavac(). So we have to store them and throw them later out of execute.
-
Constructor Details
-
CloverCompilerAdapter
public CloverCompilerAdapter()
-
-
Method Details
-
setJavac
public void setJavac(org.apache.tools.ant.taskdefs.Javac aJavac) - Specified by:
setJavacin interfaceorg.apache.tools.ant.taskdefs.compilers.CompilerAdapter- Parameters:
aJavac- The new javac value- See Also:
-
getDefaultAntCompiler
-
execute
public boolean execute() throws org.apache.tools.ant.BuildException- Specified by:
executein interfaceorg.apache.tools.ant.taskdefs.compilers.CompilerAdapter- Throws:
org.apache.tools.ant.BuildException- See Also:
-