Class KaffeRmic

  • All Implemented Interfaces:
    RmicAdapter

    public class KaffeRmic
    extends DefaultRmicAdapter
    The implementation of the rmic for Kaffe
    Since:
    Ant 1.4
    • Field Detail

      • COMPILER_NAME

        public static final java.lang.String COMPILER_NAME
        the name of this adapter for users to select
        See Also:
        Constant Field Values
    • Constructor Detail

      • KaffeRmic

        public KaffeRmic()
    • Method Detail

      • 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