org.apache.tools.ant.taskdefs.rmic

Class WLRmic

Implemented Interfaces:
RmicAdapter

public class WLRmic
extends DefaultRmicAdapter

The implementation of the rmic for WebLogic
Since:
Ant 1.4

Field Summary

static String
COMPILER_NAME
the name of this adapter for users to select
static String
ERROR_NO_WLRMIC_ON_CLASSPATH
The error string to use if not able to find the weblogic rmic
static String
ERROR_WLRMIC_FAILED
The error string to use if not able to start the weblogic rmic
static String
WLRMIC_CLASSNAME
The classname of the weblogic rmic
static String
WL_RMI_SKEL_SUFFIX
The skeleton suffix
static String
WL_RMI_STUB_SUFFIX
The stub suffix

Fields inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter

RMI_SKEL_SUFFIX, RMI_STUB_SUFFIX, RMI_TIE_SUFFIX, STUB_1_1, STUB_1_2, STUB_COMPAT

Method Summary

boolean
execute()
Carry out the rmic compilation.
String
getSkelClassSuffix()
Get the suffix for the rmic skeleton classes
String
getStubClassSuffix()
Get the suffix for the rmic stub classes

Methods inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter

getClasspath, getCompileClasspath, getMapper, getRmic, getSkelClassSuffix, getStubClassSuffix, getTieClassSuffix, logAndAddFilesToCompile, setRmic, setupRmicCommand, setupRmicCommand

Field Details

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 Details

execute

public boolean execute()
            throws BuildException
Carry out the rmic compilation.
Specified by:
execute in interface RmicAdapter
Returns:
true if the compilation succeeded
Throws:
BuildException - on error

getSkelClassSuffix

public String getSkelClassSuffix()
Get the suffix for the rmic skeleton classes
Overrides:
getSkelClassSuffix in interface DefaultRmicAdapter
Returns:
the skeleton suffix

getStubClassSuffix

public String getStubClassSuffix()
Get the suffix for the rmic stub classes
Overrides:
getStubClassSuffix in interface DefaultRmicAdapter
Returns:
the stub suffix