public class WLRmic extends DefaultRmicAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPILER_NAME
the name of this adapter for users to select
|
static java.lang.String |
ERROR_NO_WLRMIC_ON_CLASSPATH
The error string to use if not able to find the weblogic rmic
|
static java.lang.String |
ERROR_WLRMIC_FAILED
The error string to use if not able to start the weblogic rmic
|
static java.lang.String |
UNSUPPORTED_STUB_OPTION
upsupported error message
|
static java.lang.String |
WL_RMI_SKEL_SUFFIX
The skeleton suffix
|
static java.lang.String |
WL_RMI_STUB_SUFFIX
The stub suffix
|
static java.lang.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 java.lang.String |
addStubVersionOptions()
This is an override point; no stub version is returned.
|
boolean |
execute()
Carry out the rmic compilation.
|
java.lang.String |
getSkelClassSuffix()
Get the suffix for the rmic skeleton classes
|
java.lang.String |
getStubClassSuffix()
Get the suffix for the rmic stub classes
|
protected java.lang.String[] |
preprocessCompilerArgs(java.lang.String[] compilerArgs)
Strip out all -J args from the command list.
|
filterJvmCompilerArgs, getClasspath, getCompileClasspath, getMapper, getRmic, getTieClassSuffix, logAndAddFilesToCompile, setRmic, setupRmicCommand, setupRmicCommand
public static final java.lang.String WLRMIC_CLASSNAME
public static final java.lang.String COMPILER_NAME
public static final java.lang.String ERROR_NO_WLRMIC_ON_CLASSPATH
public static final java.lang.String ERROR_WLRMIC_FAILED
public static final java.lang.String WL_RMI_STUB_SUFFIX
public static final java.lang.String WL_RMI_SKEL_SUFFIX
public static final java.lang.String UNSUPPORTED_STUB_OPTION
public boolean execute() throws BuildException
BuildException
- on errorpublic java.lang.String getStubClassSuffix()
getStubClassSuffix
in class DefaultRmicAdapter
public java.lang.String getSkelClassSuffix()
getSkelClassSuffix
in class DefaultRmicAdapter
protected java.lang.String[] preprocessCompilerArgs(java.lang.String[] compilerArgs)
preprocessCompilerArgs
in class DefaultRmicAdapter
compilerArgs
- the original compiler argumentsprotected java.lang.String addStubVersionOptions()
addStubVersionOptions
in class DefaultRmicAdapter