|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
public abstract class DefaultRmicAdapter
This is the default implementation for the RmicAdapter interface. Currently, this is a cut-and-paste of the original rmic task and DefaultCopmpilerAdapter.
Field Summary | |
---|---|
static java.lang.String |
RMI_SKEL_SUFFIX
suffix denoting a skel file |
static java.lang.String |
RMI_STUB_SUFFIX
suffix denoting a stub file |
static java.lang.String |
RMI_TIE_SUFFIX
suffix denoting a tie file |
static java.lang.String |
STUB_1_1
arg for 1.1 |
static java.lang.String |
STUB_1_2
arg for 1.2 |
static java.lang.String |
STUB_COMPAT
arg for compat |
Constructor Summary | |
---|---|
DefaultRmicAdapter()
Default constructor |
Method Summary | |
---|---|
Path |
getClasspath()
Gets the CLASSPATH this rmic process will use. |
protected Path |
getCompileClasspath()
Builds the compilation classpath. |
FileNameMapper |
getMapper()
This implementation returns a mapper that may return up to two file names. |
Rmic |
getRmic()
Get the Rmic attributes |
protected java.lang.String |
getSkelClassSuffix()
Gets the skeleton class suffix |
protected java.lang.String |
getStubClassSuffix()
Gets the stub class suffix |
protected java.lang.String |
getTieClassSuffix()
Gets the tie class suffix |
protected void |
logAndAddFilesToCompile(Commandline cmd)
Logs the compilation parameters, adds the files to compile and logs the "niceSourceList" |
void |
setRmic(Rmic attributes)
Sets Rmic attributes |
protected Commandline |
setupRmicCommand()
Setup rmic argument for rmic. |
protected Commandline |
setupRmicCommand(java.lang.String[] options)
Setup rmic argument for rmic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tools.ant.taskdefs.rmic.RmicAdapter |
---|
execute |
Field Detail |
---|
public static final java.lang.String RMI_STUB_SUFFIX
public static final java.lang.String RMI_SKEL_SUFFIX
public static final java.lang.String RMI_TIE_SUFFIX
public static final java.lang.String STUB_COMPAT
public static final java.lang.String STUB_1_1
public static final java.lang.String STUB_1_2
Constructor Detail |
---|
public DefaultRmicAdapter()
Method Detail |
---|
public void setRmic(Rmic attributes)
setRmic
in interface RmicAdapter
attributes
- the rmic attributespublic Rmic getRmic()
protected java.lang.String getStubClassSuffix()
protected java.lang.String getSkelClassSuffix()
protected java.lang.String getTieClassSuffix()
public FileNameMapper getMapper()
getMapper
in interface RmicAdapter
FileNameMapper
public Path getClasspath()
getClasspath
in interface RmicAdapter
protected Path getCompileClasspath()
protected Commandline setupRmicCommand()
protected Commandline setupRmicCommand(java.lang.String[] options)
options
- additional parameters needed by a specific
implementation.
protected void logAndAddFilesToCompile(Commandline cmd)
cmd
- the commandline args
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |