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

public class Gcj
extends DefaultCompilerAdapter
The implementation of the gcj compiler. This is primarily a cut-and-paste from the jikes.
Since:
Ant 1.4
  • Constructor Details

    • Gcj

      public Gcj()
  • Method Details

    • execute

      public boolean execute() throws BuildException
      Performs a compile using the gcj compiler.
      Returns:
      true if the compilation succeeded
      Throws:
      BuildException - on error
    • setupGCJCommand

      protected Commandline setupGCJCommand()
      Set up the gcj commandline.
      Returns:
      the command line
    • isNativeBuild

      public boolean isNativeBuild()
      Whether any of the arguments given via <compilerarg> implies that compilation to native code is requested.
      Returns:
      true if compilation to native code is requested
      Since:
      Ant 1.6.2