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

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".

Authored by: Veryant Support on Tue, Apr 5th, 2016 at 7:00 PM
This question has been viewed 3212 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=265

Powered by PHPKB Knowledge Base Software