TOP

Library net/mdatools/modelant/template/antlib.xml

Tasks, types and macros of ModelAnt Template engine.
Usage:

<typedef resource="net/mdatools/modelant/template/antlib.xml"/>

Imports:

<typedef resource="net/mdatools/modelant/core/antlib.xml"/>
Tasks and Macros Description
template Template-based file generation. This task requires a previous <template.init> was called to bind the context with its class path and directories.
   Usage:
     <template context="..." method="..." file="..."/>
        this use calls the template named conext\<class name of <b>this</b> object>\method.jsp
        applying the template on <b>this</b> object

     <template context="..." method="..." file="..." property="property name"/>
        this use calls the template named conext\<class name of <b>property name</b> object>\method.jsp
        applying the template on <b>this</b> object
 
template.compile This task compiles the listed JSP Templates, this way allowing their compilation (and thus validation) as part of the build process.
template.init Register a templates context with its name and class path. The context becomes available for any further template tasks.

Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools