Remote Compilation
BS2IDE allows to remotely invoke BS2000 compilers to compile individual source files or library
elements on the BS2000 system. It allows you to specify customized compile commands
or to use existing compile procedures. Messages reported by the BS2000 compiler are converted to
Eclipse problem markers on the source.
To tell BS2IDE how to compile a source file with a BS2000 compiler, you have to create a
compile rule. For this several configuration steps must be done.
- To be able to interpret the listing generated by the compiler and to set problem markers
on the source file, you must consider the compiler specific notes for compile rules.
- You must provide a compile command, which is a BS2000 command or a sequence of
BS2000 commands, which can also be a
/CALL-PROCEDURE
command
- There are several generic placeholders mostly derived from the source file path which can
be
referred in compile commands and compile rules
- You can define your own placeholder sets which can be used in compile rules.
- Finally you can define a compile rule, where you can declare the range of applicability,
assign a specific placeholder set and a compile command.
Furthermore, SDF command procedures can be remotely called to build an entire product.
The configuration of Remote Procedure Calls is similar to the configuration of
the Compile Rules.
For details see the following sections:
Export and import
Once your compile commands and rules or call procedure commands and rules
work well, you may wish to share them with your colleagues.
To do so, you can export the commands and rules to a local file (by clicking Export...)
and distribute this local file to your colleagues for importing (by clicking Import (Replace)...
to replace all definitions with those from the imported file, or Import (Add)... to merge the
definitions from the imported file with already existing defintions).