Compiling Eclipse projects has the following requirements:
You need to specify the installation location of your licensed product as Micro Focus COBOL: Install Location in the Rocket Enterprise extension settings.
You can use the Rocket Enterprise extension to compile COBOL (both native and JVM COBOL) and PL/I source files that include the .cobolBuild or the .pliproj project file created with Enterprise Developer for Eclipse.
If a folder opened in Visual Studio Code contains the .cobolBuild project file, the Rocket Enterprise extension will automatically generate a task for compiling the project via Ant. You can manually configure the build task, if required.
To compile COBOL sources:
This shows the Task Picker with the supplied build task:
The build output is displayed in the Terminal window. Any errors are underlined with red squiggly lines in the editor.
Optionally, you can configure the build task as follows:
This loads the tasks.json file for your sources in the editor.
To compile PL/I sources:
This shows the Task Picker with the supplied build task:
The build output is displayed in the Terminal window. Any errors are underlined with red squiggly lines in the editor.
Optionally, you can configure the build task as follows:
This loads the tasks.json file for your sources in the editor.
If your JVM COBOL project contains the .cobolProj project file, the Rocket Enterprise extension will automatically build it after your sources are opened in Visual Studio Code.