org.apache.tools.ant.taskdefs.compilers
Class Kjc

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
        |
        +--org.apache.tools.ant.taskdefs.compilers.Kjc
All 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.

Author:
Takashi Okamoto +

Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
attributes, bootclasspath, compileClasspath, compileList, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, location, lSep, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose
 
Constructor Summary
Kjc()
           
 
Method Summary
 boolean execute()
          Executes the task.
protected  Commandline setupKjcCommand()
          setup kjc command arguments.
 
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
addExtdirsToClasspath, executeExternalCompile, getCompileClasspath, getJavac, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommandlineSwitches, setupModernJavacCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kjc

public Kjc()
Method Detail

execute

public boolean execute()
                throws BuildException
Description copied from interface: CompilerAdapter
Executes the task.
Following copied from interface: org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
Returns:
has the compilation been successful

setupKjcCommand

protected Commandline setupKjcCommand()
setup kjc command arguments.


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.