public class AntCompiler extends Compiler
Modifier and Type | Class and Description |
---|---|
static class |
AntCompiler.JasperAntLogger |
protected static class |
AntCompiler.SystemLogHandler |
Modifier and Type | Field and Description |
---|---|
protected static Object |
javacLock |
protected AntCompiler.JasperAntLogger |
logger |
protected org.apache.tools.ant.Project |
project |
Constructor and Description |
---|
AntCompiler() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateClass(Map<String,SmapStratum> smaps)
Compile the servlet from .java file to .class file
|
protected org.apache.tools.ant.Project |
getProject() |
compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getSmap, init, isOutDated, isOutDated, removeGeneratedClassFiles, removeGeneratedFiles
protected static final Object javacLock
protected org.apache.tools.ant.Project project
protected AntCompiler.JasperAntLogger logger
protected org.apache.tools.ant.Project getProject()
protected void generateClass(Map<String,SmapStratum> smaps) throws FileNotFoundException, JasperException, Exception
generateClass
in class Compiler
smaps
- The source maps for the class(es) generated from the source
fileFileNotFoundException
- Source files not foundJasperException
- Compilation errorException
- Some other errorCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.