org.apache.tools.ant.taskdefs.rmic

Class WLRmic

public class WLRmic extends DefaultRmicAdapter

The implementation of the rmic for WebLogic

Since: Ant 1.4

Field Summary
static StringCOMPILER_NAME
the name of this adapter for users to select
static StringERROR_NO_WLRMIC_ON_CLASSPATH
The error string to use if not able to find the weblogic rmic
static StringERROR_WLRMIC_FAILED
The error string to use if not able to start the weblogic rmic
static StringWLRMIC_CLASSNAME
The classname of the weblogic rmic
static StringWL_RMI_SKEL_SUFFIX
The skeleton suffix
static StringWL_RMI_STUB_SUFFIX
The stub suffix
Method Summary
booleanexecute()
Carry out the rmic compilation.
StringgetSkelClassSuffix()
Get the suffix for the rmic skeleton classes
StringgetStubClassSuffix()
Get the suffix for the rmic stub classes

Field Detail

COMPILER_NAME

public static final String COMPILER_NAME
the name of this adapter for users to select

ERROR_NO_WLRMIC_ON_CLASSPATH

public static final String ERROR_NO_WLRMIC_ON_CLASSPATH
The error string to use if not able to find the weblogic rmic

ERROR_WLRMIC_FAILED

public static final String ERROR_WLRMIC_FAILED
The error string to use if not able to start the weblogic rmic

WLRMIC_CLASSNAME

public static final String WLRMIC_CLASSNAME
The classname of the weblogic rmic

WL_RMI_SKEL_SUFFIX

public static final String WL_RMI_SKEL_SUFFIX
The skeleton suffix

WL_RMI_STUB_SUFFIX

public static final String WL_RMI_STUB_SUFFIX
The stub suffix

Method Detail

execute

public boolean execute()
Carry out the rmic compilation.

Returns: true if the compilation succeeded

Throws: BuildException on error

getSkelClassSuffix

public String getSkelClassSuffix()
Get the suffix for the rmic skeleton classes

Returns: the skeleton suffix

getStubClassSuffix

public String getStubClassSuffix()
Get the suffix for the rmic stub classes

Returns: the stub suffix