|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
org.codehaus.janino.AntCompilerAdapter
public class 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.
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, assumeJava17, executeExternalCompile, executeExternalCompile, getBootClassPath, getCompileClasspath, getJavac, getNoDebugArgument, getProject, getSupportedFileExtensions, 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()
DefaultCompilerAdapter.compileList
individually and
write class files in directory DefaultCompilerAdapter.destDir
.
The following fields of DefaultCompilerAdapter
are honored:
DefaultCompilerAdapter.compileList
- the set of JavaTM source files to compile
DefaultCompilerAdapter.destDir
- where to store the class files
DefaultCompilerAdapter.compileSourcepath
- where to look for more JavaTM source files
DefaultCompilerAdapter.compileClasspath
- where to look for required classes
DefaultCompilerAdapter.extdirs
DefaultCompilerAdapter.bootclasspath
DefaultCompilerAdapter.encoding
- how the JavaTM source files are encoded
DefaultCompilerAdapter.verbose
DefaultCompilerAdapter.debug
org.apache.tools.ant.taskdefs.Javac.getDebugLevel()
DefaultCompilerAdapter.src
DefaultCompilerAdapter
are not honored at this time:
DefaultCompilerAdapter.depend
DefaultCompilerAdapter.deprecation
DefaultCompilerAdapter.includeAntRuntime
DefaultCompilerAdapter.includeJavaRuntime
DefaultCompilerAdapter.location
DefaultCompilerAdapter.optimize
DefaultCompilerAdapter.target
|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |