I'm using ANT to compile and link a COBOL program from a window DOS prompt, using the .cobolBuild file generated by MF Enterprise Developer for Eclipse with the following command:
ant -f .cobolBuild
I've noticed that even when the compile step fails, in this case due to invalid syntax, with an message like this:
[cobol] Compiling RD24E100.cbl...
[cobol] MOVEX 'Y' TO SYS201-EOF
[cobol] COBCH0301S Unrecognized verb : C:\MFWorkspace\RD24E100\RD24E100.cbl(133,18,14)
[cobol] Compilation complete with 1 errors, 0 warnings, 0 notices and an exit code of 12
However the ant build still ends with the BUILD SUCCESSFUL message. This is throwing off an automated build/deploy tool I am trying to configure.
The other puzzling thing is that when the MF Enterprise Developer for Eclipse runs the same build against the same COBOL program it does end with a BUILD FAILED message.
Any thought on why this is happening would be appreciated.
Thanks,
Ray H.