public class WLRmic extends DefaultRmicAdapter
| Modifier and Type | Field and Description |
|---|---|
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 |
UNSUPPORTED_STUB_OPTION
unsupported error message
|
static String |
WL_RMI_SKEL_SUFFIX
The skeleton suffix
|
static String |
WL_RMI_STUB_SUFFIX
The stub suffix
|
static String |
WLRMIC_CLASSNAME
The classname of the weblogic rmic
|
RMI_SKEL_SUFFIX, RMI_STUB_SUFFIX, RMI_TIE_SUFFIX, STUB_1_1, STUB_1_2, STUB_COMPAT, STUB_OPTION_1_1, STUB_OPTION_1_2, STUB_OPTION_COMPAT| Constructor and Description |
|---|
WLRmic() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addStubVersionOptions()
This is an override point; no stub version is returned.
|
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
|
protected String[] |
preprocessCompilerArgs(String[] compilerArgs)
Strip out all -J args from the command list.
|
filterJvmCompilerArgs, getClasspath, getCompileClasspath, getMapper, getRmic, getTieClassSuffix, logAndAddFilesToCompile, setRmic, setupRmicCommand, setupRmicCommandpublic static final String COMPILER_NAME
public static final String ERROR_NO_WLRMIC_ON_CLASSPATH
public static final String ERROR_WLRMIC_FAILED
public static final String UNSUPPORTED_STUB_OPTION
public static final String WL_RMI_SKEL_SUFFIX
public static final String WL_RMI_STUB_SUFFIX
public static final String WLRMIC_CLASSNAME
protected String addStubVersionOptions()
addStubVersionOptions in class DefaultRmicAdapterpublic boolean execute()
throws BuildException
BuildException - on errorpublic String getSkelClassSuffix()
getSkelClassSuffix in class DefaultRmicAdapterpublic String getStubClassSuffix()
getStubClassSuffix in class DefaultRmicAdapterprotected String[] preprocessCompilerArgs(String[] compilerArgs)
preprocessCompilerArgs in class DefaultRmicAdaptercompilerArgs - the original compiler arguments