org.apache.tools.ant.taskdefs.compilers

Class Gcj

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, lSep, location, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose

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

Method Details

execute

public boolean execute()
            throws BuildException
Performs a compile using the gcj compiler.
Specified by:
execute in interface CompilerAdapter


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


setupGCJCommand

protected Commandline setupGCJCommand()


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.