Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » taskdefs » compilers » [javadoc | source]
org.apache.tools.ant.taskdefs.compilers
public final class: CompilerAdapterFactory [javadoc | source]
java.lang.Object
   org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory
Creates the necessary compiler adapter, given basic criteria.
Method from org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory Summary:
getCompiler
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory Detail:
 public static CompilerAdapter getCompiler(String compilerType,
    Task task) throws BuildException 
    Based on the parameter passed in, this method creates the necessary factory desired. The current mapping for compiler names are as follows:
    • jikes = jikes compiler
    • classic, javac1.1, javac1.2 = the standard compiler from JDK 1.1/1.2
    • modern, javac1.3, javac1.4, javac1.5 = the compiler of JDK 1.3+
    • jvc, microsoft = the command line compiler from Microsoft's SDK for Java / Visual J++
    • kjc = the kopi compiler
    • gcj = the gcj compiler from gcc
    • sj, symantec = the Symantec Java compiler
    • a fully qualified classname = the name of a compiler adapter