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 java.lang.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(java.util.Map<java.lang.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 java.lang.Object javacLock
protected org.apache.tools.ant.Project project
protected AntCompiler.JasperAntLogger logger
protected org.apache.tools.ant.Project getProject()
protected void generateClass(java.util.Map<java.lang.String,SmapStratum> smaps) throws java.io.FileNotFoundException, JasperException, java.lang.Exception
generateClass
in class Compiler
smaps
- The source maps for the class(es) generated from the source
filejava.io.FileNotFoundException
- Source files not foundJasperException
- Compilation errorjava.lang.Exception
- Some other errorCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.