|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter | +--net.janino.AntCompilerAdapter
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.
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 this.compileList individually and write class
files in directory this.destDir .
|
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter |
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, executeExternalCompile, getCompileClasspath, getJavac, 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 |
public AntCompilerAdapter()
Method Detail |
public boolean execute() throws org.apache.tools.ant.BuildException
this.compileList
individually and write class
files in directory this.destDir
.
The following fields of DefaultCompilerAdapter
are honored:
compileList
- the set of JavaTM source files to compile
destDir
- where to store the class files
compileSourcepath
- where to look for more JavaTM source files
compileClasspath
- where to look for required classes
extdirs
bootclasspath
encoding
- how the JavaTM source files are encoded
verbose
debug
debuglevel
DefaultCompilerAdapter
are not honored at this time:
attributes
depend
deprecation
includeAntRuntime
includeJavaRuntime
location
optimize
src
(path)
target
execute
in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |