org.apache.tomcat.ant
Class Tomcat3Precompiler

java.lang.Object
  extended byDefaultJspCompilerAdapter
      extended byorg.apache.tomcat.ant.Tomcat3Precompiler

public class Tomcat3Precompiler
extends DefaultJspCompilerAdapter

This compiler adaptor builds jsps with a naming convention that is ready-to-use by Tomcat 3.x. Files are compiled from foo.jsp to foo_1.java.

Use this task with the Tomcat3JSPVersionFile to create the appropriate files to pre-populate the Tomcat work directory.

Since:
ant1.6
Author:
Keith Wannamaker Keith@Apache.org
See Also:
Serialized Form

Constructor Summary
Tomcat3Precompiler()
           
 
Method Summary
 JspMangler createMangler()
           
 boolean execute()
          our execute method which does dependency checks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tomcat3Precompiler

public Tomcat3Precompiler()
Method Detail

execute

public boolean execute()
                throws org.apache.tools.ant.BuildException
our execute method which does dependency checks

Throws:
org.apache.tools.ant.BuildException

createMangler

public JspMangler createMangler()
Returns:
an instance of the mangler this compiler uses


Copyright ? 2001 Apache Software Foundation. All Rights Reserved.