Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.rmic

public Class KaffeRmic

extends DefaultRmicAdapter
Class Inheritance
Imports
org.apache.tools.ant.BuildException, .Project, org.apache.tools.ant.taskdefs.ExecuteJava, org.apache.tools.ant.types.Commandline

The implementation of the rmic for Kaffe
Since
Ant 1.4

Field Summary

Modifier and TypeField and Description
public static final String
COMPILER_NAME

the name of this adapter for users to select

private static final String[]
Inherited from org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter:
RMI_SKEL_SUFFIXRMI_STUB_SUFFIXRMI_TIE_SUFFIXSTUB_1_1STUB_1_2STUB_COMPATSTUB_OPTION_1_1STUB_OPTION_1_2STUB_OPTION_COMPAT

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
public boolean
private static Class<?>

Returns:

null if neither class can get loaded.
getRmicClass
()

tries to load Kaffe RMIC and falls back to the older class name if necessary.

public static boolean

Returns:

true if kaffe is on the current classpath
isAvailable
()

test for kaffe being on the system

Inherited from org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter:
addStubVersionOptionsfilterJvmCompilerArgsgetClasspathgetCompileClasspathgetMappergetRmicgetSkelClassSuffixgetStubClassSuffixgetTieClassSuffixlogAndAddFilesToCompilepreprocessCompilerArgssetRmicsetupRmicCommandsetupRmicCommand

Field Detail

COMPILER_NAMEback to summary
public static final String COMPILER_NAME

the name of this adapter for users to select

RMIC_CLASSNAMESback to summary
private static final String[] RMIC_CLASSNAMES

Constructor Detail

KaffeRmicback to summary
public KaffeRmic()

Method Detail

areIiopAndIdlSupportedback to summary
protected boolean areIiopAndIdlSupported()

Overrides org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter.areIiopAndIdlSupported.

Doc from org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter.areIiopAndIdlSupported.

Whether the iiop and idl switches are supported.

This implementation returns false if running on Java 11 onwards and true otherwise.

Returns:boolean

true if the iiop and idl switches are supported

Annotations
@Override
Since
Ant 1.10.3
executeback to summary
public boolean execute() throws BuildException

Implements org.apache.tools.ant.taskdefs.rmic.RmicAdapter.execute.

Doc from org.apache.tools.ant.taskdefs.rmic.RmicAdapter.execute.

Call the rmic compiler.

Returns:boolean

true if has the compilation been successful

Annotations
@Override
Exceptions
BuildException:
on error
getRmicClassback to summary
private static Class<?> getRmicClass()

tries to load Kaffe RMIC and falls back to the older class name if necessary.

Returns:Class<?>

null if neither class can get loaded.

isAvailableback to summary
public static boolean isAvailable()

test for kaffe being on the system

Returns:boolean

true if kaffe is on the current classpath