Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.javah

public Class Gcjh

extends Object
implements JavahAdapter
Class Inheritance
All Implemented Interfaces
org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter
Imports
org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.Execute, org.apache.tools.ant.taskdefs.optional.Javah, org.apache.tools.ant.types.Commandline, .Path, org.apache.tools.ant.util.JavaEnvUtils

Adapter to the native gcjh compiler.
Since
Ant 1.8.2

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public
Gcjh()

Method Summary

Modifier and TypeMethod and Description
public boolean
compile(Javah
the calling javah task.
javah
)

Implements org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

Performs the actual compilation.
private Commandline
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

IMPLEMENTATION_NAMEback to summary
public static final String IMPLEMENTATION_NAME

Constructor Detail

Gcjhback to summary
public Gcjh()

Method Detail

compileback to summary
public boolean compile(Javah javah) throws BuildException

Implements org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

Performs the actual compilation.

Parameters
javah:Javah

Doc from org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

the calling javah task.

Returns:boolean

Doc from org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

true if the compilation was successful.

Exceptions
BuildException:

Doc from org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

if there is an error.

setupGcjhCommandback to summary
private Commandline setupGcjhCommand(Javah javah)