org.apache.tools.ant.taskdefs.rmic

Class XNewRmic

Implemented Interfaces:
RmicAdapter

public class XNewRmic
extends ForkingSunRmic

Run rmic in a new process with -Xnew set. This switches rmic to use a new compiler, one that doesnt work in-process on ant on java1.6. see: http://issues.apache.org/bugzilla/show_bug.cgi?id=38732

Field Summary

static String
COMPILER_NAME
the name of this adapter for users to select

Fields inherited from class org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic

COMPILER_NAME

Fields inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter

RMI_SKEL_SUFFIX, RMI_STUB_SUFFIX, RMI_TIE_SUFFIX, STUB_1_1, STUB_1_2, STUB_COMPAT

Constructor Summary

XNewRmic()
No-arg constructor.

Method Summary

protected Commandline
setupRmicCommand()
Create a normal command line, then with -Xnew at the front

Methods inherited from class org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic

execute, getExecutableName

Methods inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter

getClasspath, getCompileClasspath, getMapper, getRmic, getSkelClassSuffix, getStubClassSuffix, getTieClassSuffix, logAndAddFilesToCompile, setRmic, setupRmicCommand, setupRmicCommand

Field Details

COMPILER_NAME

public static final String COMPILER_NAME
the name of this adapter for users to select

Constructor Details

XNewRmic

public XNewRmic()
No-arg constructor.

Method Details

setupRmicCommand

protected Commandline setupRmicCommand()
Create a normal command line, then with -Xnew at the front
Overrides:
setupRmicCommand in interface DefaultRmicAdapter
Returns:
a command line that hands off to thw