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 Details

    • COMPILER_NAME

      public static final String COMPILER_NAME
      the name of this adapter for users to select
      See Also:
  • Constructor Details

    • KaffeRmic

      public KaffeRmic()
  • Method Details

    • areIiopAndIdlSupported

      protected boolean areIiopAndIdlSupported()
      Description copied from class: DefaultRmicAdapter
      Whether the iiop and idl switches are supported.

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

      Overrides:
      areIiopAndIdlSupported in class DefaultRmicAdapter
      Returns:
      true if the iiop and idl switches are supported
      Since:
      Ant 1.10.3
    • execute

      public boolean execute() throws BuildException
      Call the rmic compiler.
      Returns:
      true if has the compilation been successful
      Throws:
      BuildException - on error
    • isAvailable

      public static boolean isAvailable()
      test for kaffe being on the system
      Returns:
      true if kaffe is on the current classpath