TOP

init

Description

       Recommended usage:
         <antlib>
            <init>
              Put initialization code here, like:
              <echo> Library initialized</echo>
            </init>
         </antlib>
      
Initialize an antlib, by setting common properties and executing the nested tasks, while making sure the execution is done one-time, no matter how many times the antlib is loaded. This task could be used only in <antlib> - it deliberately does not run in <project> to avoid proliferation of quite similar in use/meaning ways to do the same things like project's initialization (setup).
Convention: NOTE: This task allows using <import> tasks, which would not be possible by deafault.

Implementation class

net.mdatools.modelant.util.task.AntLibInitTask

Nested elements

Element Description
Any task The tasks to execute for AntLib initialization

Use <typedef resource="net/mdatools/modelant/util/antlib.xml"/>
Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools