AntClassLoader loader)
throws BuildException {
if (compilerType.equalsIgnoreCase("jasper")) {
//tomcat4.0 gets the old mangler
return new JasperC(new JspNameMangler());
}
if (compilerType.equalsIgnoreCase("jasper41")) {
//tomcat4.1 gets the new one
return new JasperC(new Jasper41Mangler());
}