
Based on the parameter passed in, this method creates the necessary
factory desired.
The current mapping for compiler names are as follows:
- jasper = jasper compiler (the default)
- a fully quallified classname = the name of a jsp compiler
adapter
Returns:
the compiler
Parameters:
-
compilerType - either the name of the desired compiler, or the
full classname of the compiler's adapter.
-
task - a task to log through.
-
loader - AntClassLoader with which the compiler should be loaded
Throws:
-
BuildException - if the compiler type could not be resolved into
a compiler adapter.