FileDocCategorySizeDatePackage
XNewRmic.javaAPI DocApache Ant 1.701796Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.taskdefs.rmic

XNewRmic

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

Fields Summary
public static final String
COMPILER_NAME
the name of this adapter for users to select
Constructors Summary
public XNewRmic()
No-arg constructor.


       
      
    
Methods Summary
protected org.apache.tools.ant.types.CommandlinesetupRmicCommand()
Create a normal command line, then with -Xnew at the front

return
a command line that hands off to thw

        String[] options = new String[] {
                "-Xnew"
        };
        Commandline commandline = super.setupRmicCommand(options);
        return commandline;