Class JasperC
java.lang.Object
org.apache.tools.ant.taskdefs.optional.jsp.compilers.DefaultJspCompilerAdapter
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC
- All Implemented Interfaces:
JspCompilerAdapter
The implementation of the jasper compiler.
This is a cut-and-paste of the original Jspc task.
- Since:
- ant1.5
-
Field Summary
Fields inherited from class DefaultJspCompilerAdapter
owner -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DefaultJspCompilerAdapter
addArg, addArg, addArg, getJspc, getProject, implementsOwnDependencyChecking, logAndAddFilesToCompile, setJspcModifier and TypeMethodDescriptionprotected voidaddArg(CommandlineJava cmd, String argument) add a single argument to the argument list, if the value isn't nullprotected voidaddArg(CommandlineJava cmd, String argument, File file) add an argument tuple to the arg list, if the file parameter isn't nullprotected voidaddArg(CommandlineJava cmd, String argument, String value) add an argument tuple to the argument list, if the value isn't nullgetJspc()get the ownerget our projectbooleanask if compiler can sort out its own dependenciesprotected voidlogAndAddFilesToCompile(JspC jspc, Vector<String> compileList, CommandlineJava cmd) Logs the compilation parameters, adds the files to compile and logs the "niceSourceList"voidset the owner
-
Constructor Details
-
JasperC
Constructor for JasperC.- Parameters:
mangler- a filename converter
-
-
Method Details
-
execute
Our execute method.- Returns:
- true if successful
- Throws:
BuildException- on error
-
createMangler
- Returns:
- an instance of the mangler this compiler uses
-