Class JythonAntTask

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class JythonAntTask
    extends org.apache.tools.ant.Task
    Used internally, public for technical reasons only.

    This is an Ant sub-task of the FreemarkerXmlTask task.

    Warning! It must not be statically linked with Jython classes, so users can use the XML ant task even if Jython is not installed.

    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      JythonAntTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addText​(java.lang.String text)  
      void execute​(java.util.Map vars)  
      void setFile​(java.io.File scriptFile)  
      • Methods inherited from class org.apache.tools.ant.Task

        bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JythonAntTask

        public JythonAntTask()
    • Method Detail

      • setFile

        public void setFile​(java.io.File scriptFile)
                     throws org.apache.tools.ant.BuildException
        Throws:
        org.apache.tools.ant.BuildException
      • addText

        public void addText​(java.lang.String text)
      • execute

        public void execute​(java.util.Map vars)
                     throws org.apache.tools.ant.BuildException
        Throws:
        org.apache.tools.ant.BuildException