org.apache.tools.ant.taskdefs.compilers
Class Gcj

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
        |
        +--org.apache.tools.ant.taskdefs.compilers.Gcj
All Implemented Interfaces:
CompilerAdapter

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

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, location, lSep, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose
 
Constructor Summary
Gcj()
           
 
Method Summary
 boolean execute()
          Performs a compile using the gcj compiler.
 boolean isNativeBuild()
          Whether any of the arguments given via <compilerarg> implies that compilation to native code is requested.
protected  Commandline setupGCJCommand()
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, executeExternalCompile, executeExternalCompile, getCompileClasspath, getJavac, getProject, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gcj

public Gcj()
Method Detail

execute

public boolean execute()
                throws BuildException
Performs a compile using the gcj compiler.

Returns:
has the compilation been successful
BuildException

setupGCJCommand

protected Commandline setupGCJCommand()

isNativeBuild

public boolean isNativeBuild()
Whether any of the arguments given via <compilerarg> implies that compilation to native code is requested.

Since:
Ant 1.6.2


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.