org.apache.tools.ant.taskdefs.compilers

Class Gcj

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

Method Summary
booleanexecute()
Performs a compile using the gcj compiler.
booleanisNativeBuild()
Whether any of the arguments given via <compilerarg> implies that compilation to native code is requested.
protected CommandlinesetupGCJCommand()
Set up the gcj commandline.

Method Detail

execute

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

Returns: true if the compilation succeeded

Throws: BuildException on error

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

setupGCJCommand

protected Commandline setupGCJCommand()
Set up the gcj commandline.

Returns: the command line