org.apache.tools.ant.taskdefs.rmic
public abstract class DefaultRmicAdapter extends Object implements RmicAdapter
Since: Ant 1.4
Field Summary | |
---|---|
static String | RMI_SKEL_SUFFIX suffix denoting a skel file |
static String | RMI_STUB_SUFFIX suffix denoting a stub file |
static String | RMI_TIE_SUFFIX suffix denoting a tie file |
static String | STUB_1_1 arg for 1.1 |
static String | STUB_1_2 arg for 1.2 |
static 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 String | getSkelClassSuffix()
Gets the skeleton class suffix |
protected String | getStubClassSuffix()
Gets the stub class suffix |
protected 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(String[] options)
Setup rmic argument for rmic. |
Returns: the classpath
Returns: the classpath
Returns: a FileNameMapper
Returns: the attributes as a Rmic taskdef
Returns: the skeleton suffix "_Skel"
Returns: the stub suffix "_Stub"
Returns: the tie suffix "_Tie"
Parameters: cmd the commandline args
Parameters: attributes the rmic attributes
Returns: the command line
Parameters: options additional parameters needed by a specific implementation.
Returns: the command line