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

public Class ForkingJavah

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

This implementation runs the javah executable in a separate process.
Since
Ant 1.9.8

Field Summary

Modifier and TypeField and Description
public static final String
IMPLEMENTATION_NAME

the name of this adapter for users to select

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the compilation was successful.
compile
(Javah
the calling javah task.
javah
)

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

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

Field Detail

IMPLEMENTATION_NAMEback to summary
public static final String IMPLEMENTATION_NAME

the name of this adapter for users to select

Constructor Detail

ForkingJavahback to summary
public ForkingJavah()

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

the calling javah task.

Returns:boolean

true if the compilation was successful.

Annotations
@Override
Exceptions
BuildException:
if there is an error.