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

public Class WLRmic

extends DefaultRmicAdapter
Class Inheritance
Imports
java.lang.reflect.Method, org.apache.tools.ant.AntClassLoader, .BuildException, .Project, org.apache.tools.ant.types.Commandline

The implementation of the rmic for WebLogic
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

public static final String
ERROR_NO_WLRMIC_ON_CLASSPATH

The error string to use if not able to find the weblogic rmic

public static final String
ERROR_WLRMIC_FAILED

The error string to use if not able to start the weblogic rmic

public static final String
UNSUPPORTED_STUB_OPTION

unsupported error message

public static final String
WL_RMI_SKEL_SUFFIX

The skeleton suffix

public static final String
WL_RMI_STUB_SUFFIX

The stub suffix

public static final String
WLRMIC_CLASSNAME

The classname of the weblogic rmic

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 String

Returns:

null, for no stub version
addStubVersionOptions
()

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

This is an override point; no stub version is returned.
protected boolean
public boolean

Returns:

true if the compilation succeeded
execute
()

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

Carry out the rmic compilation.
public String

Returns:

the skeleton suffix
getSkelClassSuffix
()

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

Get the suffix for the rmic skeleton classes
public String

Returns:

the stub suffix
getStubClassSuffix
()

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

Get the suffix for the rmic stub classes
protected String[]

Returns:

the filtered set.
preprocessCompilerArgs
(String[]
the original compiler arguments
compilerArgs
)

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

Strip out all -J args from the command list.
Inherited from org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter:
filterJvmCompilerArgsgetClasspathgetCompileClasspathgetMappergetRmicgetTieClassSuffixlogAndAddFilesToCompilesetRmicsetupRmicCommandsetupRmicCommand

Field Detail

COMPILER_NAMEback to summary
public static final String COMPILER_NAME

the name of this adapter for users to select

ERROR_NO_WLRMIC_ON_CLASSPATHback to summary
public static final String ERROR_NO_WLRMIC_ON_CLASSPATH

The error string to use if not able to find the weblogic rmic

ERROR_WLRMIC_FAILEDback to summary
public static final String ERROR_WLRMIC_FAILED

The error string to use if not able to start the weblogic rmic

UNSUPPORTED_STUB_OPTIONback to summary
public static final String UNSUPPORTED_STUB_OPTION

unsupported error message

WL_RMI_SKEL_SUFFIXback to summary
public static final String WL_RMI_SKEL_SUFFIX

The skeleton suffix

WL_RMI_STUB_SUFFIXback to summary
public static final String WL_RMI_STUB_SUFFIX

The stub suffix

WLRMIC_CLASSNAMEback to summary
public static final String WLRMIC_CLASSNAME

The classname of the weblogic rmic

Constructor Detail

WLRmicback to summary
public WLRmic()

Method Detail

addStubVersionOptionsback to summary
protected String addStubVersionOptions()

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

This is an override point; no stub version is returned. If any stub option is set, a warning is printed.

Returns:String

null, for no stub version

Annotations
@Override
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.

Carry out the rmic compilation.

Returns:boolean

true if the compilation succeeded

Annotations
@Override
Exceptions
BuildException:
on error
getSkelClassSuffixback to summary
public String getSkelClassSuffix()

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

Get the suffix for the rmic skeleton classes

Returns:String

the skeleton suffix

Annotations
@Override
getStubClassSuffixback to summary
public String getStubClassSuffix()

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

Get the suffix for the rmic stub classes

Returns:String

the stub suffix

Annotations
@Override
preprocessCompilerArgsback to summary
protected String[] preprocessCompilerArgs(String[] compilerArgs)

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

Strip out all -J args from the command list.

Parameters
compilerArgs:String[]

the original compiler arguments

Returns:String[]

the filtered set.

Annotations
@Override