org.apache.tools.ant.taskdefs.rmic

Class SunRmic

public class SunRmic extends DefaultRmicAdapter

The implementation of the rmic for SUN's JDK.

Since: Ant 1.4

Field Summary
static StringCOMPILER_NAME
the name of this adapter for users to select
static StringERROR_NO_RMIC_ON_CLASSPATH
Error message to use with the sun rmic is not the classpath.
static StringERROR_RMIC_FAILED
Error message to use when there is an error starting the sun rmic compiler
static StringRMIC_CLASSNAME
name of the class
static StringRMIC_EXECUTABLE
name of the executable
Method Summary
booleanexecute()
Run the rmic compiler.

Field Detail

COMPILER_NAME

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

ERROR_NO_RMIC_ON_CLASSPATH

public static final String ERROR_NO_RMIC_ON_CLASSPATH
Error message to use with the sun rmic is not the classpath.

ERROR_RMIC_FAILED

public static final String ERROR_RMIC_FAILED
Error message to use when there is an error starting the sun rmic compiler

RMIC_CLASSNAME

public static final String RMIC_CLASSNAME
name of the class

RMIC_EXECUTABLE

public static final String RMIC_EXECUTABLE
name of the executable

Method Detail

execute

public boolean execute()
Run the rmic compiler.

Returns: true if the compilation succeeded

Throws: BuildException on error