Defining Tasks and Types

To be able to use the tasks and types provided by Micro Focus Ant support, add one of the following elements to the build file:

To use the mfurun task, add the following element:

<taskdef name="mfurun" classname="com.microfocus.mfunit.ant.MFURunMFUTask"/>

For all other tasks, add the following element:

    <project name="MyCOBOLProject" default="build" basedir=".">
        <taskdef resource="com/microfocus/ant/antlib.xml"/>
        ...
    </project>
Note: This will make all the defined tasks and types available for use; earlier versions required the definition of individual <taskdef> elements for each task to be used.