org.apache.tools.ant.taskdefs.rmic
public class SunRmic extends DefaultRmicAdapter
Since: Ant 1.4
Field Summary | |
---|---|
static String | COMPILER_NAME
the name of this adapter for users to select |
static String | ERROR_NO_RMIC_ON_CLASSPATH Error message to use with the sun rmic is not the classpath. |
static String | ERROR_RMIC_FAILED Error message to use when there is an error starting the sun rmic compiler |
static String | RMIC_CLASSNAME
name of the class |
static String | RMIC_EXECUTABLE
name of the executable |
Method Summary | |
---|---|
boolean | execute()
Run the rmic compiler. |
protected String[] | preprocessCompilerArgs(String[] compilerArgs)
Strip out all -J args from the command list. |
Returns: true if the compilation succeeded
Throws: BuildException on error
Parameters: compilerArgs the original compiler arguments
Returns: the filtered set.