org.apache.tools.ant.taskdefs.compilers

Class Kjc

Implemented Interfaces:
CompilerAdapter

public class Kjc
extends DefaultCompilerAdapter

The implementation of the Java compiler for KJC. This is primarily a cut-and-paste from Jikes.java and DefaultCompilerAdapter.
Since:
Ant 1.4

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, lSep, location, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose

Method Summary

boolean
execute()
Run the compilation.
protected Commandline
setupKjcCommand()
setup kjc command arguments.

Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, executeExternalCompile, executeExternalCompile, getCompileClasspath, getJavac, getNoDebugArgument, getProject, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches

Method Details

execute

public boolean execute()
            throws BuildException
Run the compilation.
Specified by:
execute in interface CompilerAdapter
Throws:
BuildException - if the compilation has problems.

setupKjcCommand

protected Commandline setupKjcCommand()
setup kjc command arguments.

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