Quantcast
Channel: Enterprise Developer Team Edition Support - Recent Threads
Viewing all articles
Browse latest Browse all 75

Ant build report success even when compile fails

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 75

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>