janino.net

org.codehaus.janino
Class AntCompilerAdapter

java.lang.Object
  extended by org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
      extended by org.codehaus.janino.AntCompilerAdapter
All Implemented Interfaces:
CompilerAdapter

public class AntCompilerAdapter
extends DefaultCompilerAdapter

A simple CompilerAdapter for the "ant" tool that silently ignores most of the configuration parameters and attempts to compile all given source files into class files.


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, location, lSep, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose
 
Constructor Summary
AntCompilerAdapter()
           
 
Method Summary
 boolean execute()
          Compile all source files in DefaultCompilerAdapter.compileList individually and write class files in directory DefaultCompilerAdapter.destDir.
 
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, assumeJava16, executeExternalCompile, executeExternalCompile, getBootClassPath, getCompileClasspath, getJavac, getNoDebugArgument, getProject, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntCompilerAdapter

public AntCompilerAdapter()
Method Detail

execute

public boolean execute()
Compile all source files in DefaultCompilerAdapter.compileList individually and write class files in directory DefaultCompilerAdapter.destDir.

The following fields of DefaultCompilerAdapter are honored:

The following fields of DefaultCompilerAdapter are not honored at this time:

Returns:
"true" on success

janino.net