org.japano.util
Class JapanoCompiler

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.japano.util.JapanoCompiler
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class JapanoCompiler
extends org.apache.tools.ant.taskdefs.MatchingTask

The japano JSP compiler ant task. If this class's logger is set to DEBUG, the JSPC compiler will run in verbose mode.


Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
JapanoCompiler()
           
 
Method Summary
 void execute()
          Executes the task.
 void setClasspath(java.lang.String classpath)
          Sets the classpath to invoke the JSP compiler with.
 void setDestdir(java.lang.String destination)
          Setter for property destination.
 void setPackage(java.lang.String pkg)
          Sets the package of the generated sources
 void setSrcdir(java.lang.String srcDir)
          Setter for property srcDir.
 void setUribase(java.lang.String uriBase)
          Setter for property uriBase.
 void setUriroot(java.lang.String uriRoot)
          Setter for property uriRoot.
 void setVerbose(int verbose)
          Setter for property verbose.
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JapanoCompiler

public JapanoCompiler()
Method Detail

setDestdir

public void setDestdir(java.lang.String destination)
Setter for property destination.

Parameters:
destination - New value of property destination.

setPackage

public void setPackage(java.lang.String pkg)
Sets the package of the generated sources

Parameters:
pkg - java package

setVerbose

public void setVerbose(int verbose)
Setter for property verbose.

Parameters:
verbose - New value of property verbose.

setUriroot

public void setUriroot(java.lang.String uriRoot)
Setter for property uriRoot.

Parameters:
uriRoot - New value of property uriRoot.

setUribase

public void setUribase(java.lang.String uriBase)
Setter for property uriBase.

Parameters:
uriBase - New value of property uriBase.

setClasspath

public void setClasspath(java.lang.String classpath)
Sets the classpath to invoke the JSP compiler with.

Parameters:
classpath - classpath

setSrcdir

public void setSrcdir(java.lang.String srcDir)
Setter for property srcDir.

Parameters:
srcDir - New value of property srcDir.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes the task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - on build failure