org.apache.tools.ant.taskdefs.rmic

Class DefaultRmicAdapter

public abstract class DefaultRmicAdapter extends Object implements RmicAdapter

This is the default implementation for the RmicAdapter interface. Currently, this is a cut-and-paste of the original rmic task and DefaultCopmpilerAdapter.

Since: Ant 1.4

Constructor Summary
DefaultRmicAdapter()
Method Summary
PathgetClasspath()
The CLASSPATH this rmic process will use.
protected PathgetCompileClasspath()
Builds the compilation classpath.
FileNameMappergetMapper()
This implementation returns a mapper that may return up to two file names.
RmicgetRmic()
protected StringgetSkelClassSuffix()
protected StringgetStubClassSuffix()
protected StringgetTieClassSuffix()
protected voidlogAndAddFilesToCompile(Commandline cmd)
Logs the compilation parameters, adds the files to compile and logs the &qout;niceSourceList"
voidsetRmic(Rmic attributes)
protected CommandlinesetupRmicCommand()
setup rmic argument for rmic.
protected CommandlinesetupRmicCommand(String[] options)
setup rmic argument for rmic.

Constructor Detail

DefaultRmicAdapter

public DefaultRmicAdapter()

Method Detail

getClasspath

public Path getClasspath()
The CLASSPATH this rmic process will use.

getCompileClasspath

protected Path getCompileClasspath()
Builds the compilation classpath.

getMapper

public FileNameMapper getMapper()
This implementation returns a mapper that may return up to two file names.

getRmic

public Rmic getRmic()

getSkelClassSuffix

protected String getSkelClassSuffix()

getStubClassSuffix

protected String getStubClassSuffix()

getTieClassSuffix

protected String getTieClassSuffix()

logAndAddFilesToCompile

protected void logAndAddFilesToCompile(Commandline cmd)
Logs the compilation parameters, adds the files to compile and logs the &qout;niceSourceList"

setRmic

public void setRmic(Rmic attributes)

setupRmicCommand

protected Commandline setupRmicCommand()
setup rmic argument for rmic.

setupRmicCommand

protected Commandline setupRmicCommand(String[] options)
setup rmic argument for rmic.

Parameters: options additional parameters needed by a specific implementation.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.