Class KaffeRmic
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
- 
- org.apache.tools.ant.taskdefs.rmic.KaffeRmic
 
 
- 
- All Implemented Interfaces:
- RmicAdapter
 
 public class KaffeRmic extends DefaultRmicAdapter The implementation of the rmic for Kaffe- Since:
- Ant 1.4
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCOMPILER_NAMEthe name of this adapter for users to select- 
Fields inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapterRMI_SKEL_SUFFIX, RMI_STUB_SUFFIX, RMI_TIE_SUFFIX, STUB_1_1, STUB_1_2, STUB_COMPAT, STUB_OPTION_1_1, STUB_OPTION_1_2, STUB_OPTION_COMPAT
 
- 
 - 
Constructor SummaryConstructors Constructor Description KaffeRmic()
 - 
Method SummaryModifier and Type Method Description protected booleanareIiopAndIdlSupported()Whether the iiop and idl switches are supported.booleanexecute()Call the rmic compiler.static booleanisAvailable()test for kaffe being on the system- 
Methods inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapteraddStubVersionOptions, filterJvmCompilerArgs, getClasspath, getCompileClasspath, getMapper, getRmic, getSkelClassSuffix, getStubClassSuffix, getTieClassSuffix, logAndAddFilesToCompile, preprocessCompilerArgs, setRmic, setupRmicCommand, setupRmicCommand
 
- 
 
- 
- 
- 
Field Detail- 
COMPILER_NAMEpublic static final java.lang.String COMPILER_NAME the name of this adapter for users to select- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
areIiopAndIdlSupportedprotected boolean areIiopAndIdlSupported() Description copied from class:DefaultRmicAdapterWhether the iiop and idl switches are supported.This implementation returns false if running on Java 11 onwards and true otherwise. - Overrides:
- areIiopAndIdlSupportedin class- DefaultRmicAdapter
- Returns:
- true if the iiop and idl switches are supported
- Since:
- Ant 1.10.3
 
 - 
executepublic boolean execute() throws BuildExceptionCall the rmic compiler.- Returns:
- true if has the compilation been successful
- Throws:
- BuildException- on error
 
 - 
isAvailablepublic static boolean isAvailable() test for kaffe being on the system- Returns:
- true if kaffe is on the current classpath
 
 
- 
 
-