java.lang.Object
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
org.apache.tools.ant.taskdefs.compilers.Javac12
All Implemented Interfaces:
CompilerAdapter, CompilerAdapterExtension

@Deprecated
public class Javac12
extends DefaultCompilerAdapter
Deprecated.
Use Javac13 instead.
The implementation of the javac compiler for JDK 1.2 This is primarily a cut-and-paste from the original javac task before it was refactored.
Since:
Ant 1.3
  • Field Details

    • CLASSIC_COMPILER_CLASSNAME

      protected static final java.lang.String CLASSIC_COMPILER_CLASSNAME
      Deprecated.
      See Also:
      Constant Field Values
  • Constructor Details

    • Javac12

      public Javac12()
      Deprecated.
  • Method Details

    • execute

      public boolean execute() throws BuildException
      Deprecated.
      Run the compilation.
      Returns:
      true if the compiler ran with a zero exit result (ok)
      Throws:
      BuildException - if the compilation has problems.