Problem :
When mass-compiling programs using an ANT script, the ANT script ends with BUILD SUCCESSFUL displayed, even when programs fail to compile or link. How can this be avoided ?
Resolution :
The solution is to use the command :
ant –lib $COBDIR/lib/mfant.jar –f .cobolBuild –DcobolFailOnError -DcobollinkFailOnError
When –DcobolFailOnError and -DcobollinkFailOnError are used, the ant script will only display BUILD SUCCESSFUL if ALL programs build and link successfully
Incident#3127511
#cobolFailOnError
#ANT
#cobollinkFailOnError
#MFDS
#EnterpriseDeveloper
