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, ensure that the following element exists in the build file:

    <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.