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(String[] smap)
Compile the servlet from .java file to .class file
|
protected org.apache.tools.ant.Project |
getProject() |
compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, 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(String[] smap) throws FileNotFoundException, JasperException, Exception
generateClass
in class Compiler
smap
- The SMAP files for source debuggingFileNotFoundException
- Source files not foundJasperException
- Compilation errorException
- Some other errorCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.