cobolclean

Description

Cleans all the COBOL build artefacts created by the cobol task.

Parameters

Attribute Description Required
debug If true, debugging artefacts are also cleaned. Defaults to false. No
destdir The name of the directory containing the build artefacts to be cleaned. Yes
desttype The type of the build artefacts that are to be cleaned. The value of this attribute must be one of "obj", "dll", "exe", "int", "gnt" or "jvm". Defaults to "obj". No
failonerror If true, stops the build process if the task exits with a return-code other than 0. Defaults to false. No
genlistingfile If true, indicates that a listing file is generated for the compilation whose artefacts are to be cleaned. Defaults to false. No
retaindirectivesfile If true, indicates that a directives file is retained for the compilation whose artefacts are to be cleaned. Defaults to false. No
verbose If true, causes additional informational messages to be displayed by the task. Defaults to false. No

Parameters specified as nested elements

mffilelist

Use nested <mffilelist> elements to specify the source file name(s). See mffilelist.

mfdestfilelist

Use nested <mfdestfilelist> elements to specify any additional build artefact(s) that need to be cleaned. See mfdestfilelist.

Errors and return codes

By default, the return code of a <cobolclean> task is ignored. When you set failonerror="true", any non-zero response is treated as an error and means the build exits.

Examples


Copyright © 1984-2015 Micro Focus. All rights reserved.