Did you know how to generate and compile an isCOBOL IDE workspace in background-mode?

Question ID : 265
Created on 2016-04-05 at 5:58 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=265



IsCOBOL IDE supports the background generation of standard Eclipse rules. This allows you to run a long build for huge workspace with many programs that need to be generated and also many programs written by hand that need to be compiled in background mode. So it's useful to run it during the night and see the result the next morning.
This is the command:

isIDE -data /MyWorkspace -nosplash --launcher.suppressErrors -application com.iscobol.plugins.screenpainter.IscobolScreenPainter.builderApplication clean build logfile /out-build.log

In this way the output file "out-build.log" will contain the generation and compilation results of isCOBOL IDE workspace placed in /MyWorkspace. These are some lines of logfile:

start build project 'Project1' ...
Generate cobol sources...
Load 'program1.isp'
Generate 'program1' files ...
...
Build project Project1
Compiling program1.cbl ...
...
Compiling java files ...

If there are any errors during compilation, they will be stored in the .err files under the project folder "errs".



Back to Original Question