public class SunRmic 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_RMIC_ON_CLASSPATH
Error message to use with the sun rmic is not the classpath.
|
static java.lang.String |
ERROR_RMIC_FAILED
Error message to use when there is an error starting the sun rmic compiler
|
static java.lang.String |
RMIC_CLASSNAME
name of the class
|
static java.lang.String |
RMIC_EXECUTABLE
name of the executable
|
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 |
---|
SunRmic() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Run the rmic compiler.
|
protected java.lang.String[] |
preprocessCompilerArgs(java.lang.String[] compilerArgs)
Strip out all -J args from the command list.
|
addStubVersionOptions, filterJvmCompilerArgs, getClasspath, getCompileClasspath, getMapper, getRmic, getSkelClassSuffix, getStubClassSuffix, getTieClassSuffix, logAndAddFilesToCompile, setRmic, setupRmicCommand, setupRmicCommand
public static final java.lang.String RMIC_CLASSNAME
public static final java.lang.String COMPILER_NAME
public static final java.lang.String RMIC_EXECUTABLE
public static final java.lang.String ERROR_NO_RMIC_ON_CLASSPATH
public static final java.lang.String ERROR_RMIC_FAILED
public boolean execute() throws BuildException
BuildException
- on errorprotected java.lang.String[] preprocessCompilerArgs(java.lang.String[] compilerArgs)
preprocessCompilerArgs
in class DefaultRmicAdapter
compilerArgs
- the original compiler arguments