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:
      setJavac in interface org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
      Parameters:
      aJavac - The new javac value
      See Also:
      • *
    • getDefaultAntCompiler

      public static String getDefaultAntCompiler()
    • execute

      public boolean execute() throws org.apache.tools.ant.BuildException
      Specified by:
      execute in interface org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
      Throws:
      org.apache.tools.ant.BuildException
      See Also:
      • *