.project files cannot be stored on BS2000).
/CALL-PROCEDURE to delegate the work to a command procedure.
However they must neither be /ENTER-JOB nor /ENTER-PROCEDURE as BS2IDE expects
synchronous execution. MYPROJECT.DELEGATES and
deletes the entire library. In most practical cases it will be a /CALL-PROCEDURE command.
Project > Clean...
to enforce a full build.
Furthermore, if you have decided to store your source files locally, e.g. in a local source control system like Git or CVS, then you need to define delegate rules for all source files, whether compilable primary sources or non-compilable secondary sources, see Defining a delegate. And, of course, your compile commands or SDF procedures called for compilation must know where to find the secondary sources, whether they are delegates or linked resources.
Remote Build Projects provide an Incremental Project Builder.
If you have selected a Remote Build Project in the Project View
you can perform the main menu action
Project > Build Project.
You can watch the tasks performed by the Incremental Project Builder in the progress
monitor, or in the Remote BS2000 Compilations view (to be opened via
Window > Show View > Other... > BS2000 > Remote BS2000 Compilations).
The first time you are doing this, a full build is performed. A full build first transfers all primary and secondary source files for which a delegate is defined to their delegates. Then Remote Compile is invoked for all compilable primary source files, whether linked or having a delegate.
Subsequent builds are usually incremental builds, except Eclipse decides to perform a
full build, anyway. Occasionally Eclipse starts a full build even if it is
not necessary. That might be a great time delay, especially in large projects.
Therefore BS2IDE offers the optimized build option which is enabled as default.
If the optimized build option is active, BS2IDE verifies for each project resource whether the changes
since the last build requires a new build for this resource or not. Thereby most of the full builds
are transformed into an incremental build.
Incremental builds only transfer changed primary and secondary source files to their
delegates, determine the affected primary source files (e.g. a C source file including a changed
header file will be affected even if it has not been changed itself) and invoke Remote Compile
for all affected primary source files. Changes made in dependent projects are also taken into consideration
(e.g. changes made in a header file of a dependent project affect primary sources of the current project
including this header file).
You can disable the optimized build option in
Window > Preferences > BS2000 Remote IDE > Project
by disabling Enable BS2IDE optimized project build. In this case BS2IDE leaves the
decision to start a full build to Eclipse.
Alternatively you may enforce a full build by cleaning the project via
Project > Clean...
before.
![]() |
Of course, this can only work well if Eclipse is able to track all changes. Thus never modify
a delegate or linked source directly on your BS2000 system. If you should have accidently done so, perform
Project > Clean...
to enforce a full build.
|
![]() |
Furthermore, if your compile command is a call of an SDF procedure and you modify this procedure
you also must perform
Project > Clean...
to enforce a full build.
|
![]() |
It is recommended to frequently build your project or even better the entire workspace
(
Project > Build All
or Ctrl+B)
to avoid accumulating too many changes so that Eclipse decides to perform a long lasting
full build next time. Note, Remote Compile (Ctrl+Alt+C)
of a changed source is not sufficient since it does not involve the incremental builder,
hence the source will nevertheless be recompiled during the next build.
|
![]() |
Ensure that all compilable source files in your project have unique PROGRAM-IDs or lead to unique CSECT names, even if some of them should only be experimental and will never be bound to the final program. Unique CSECT names are essential for BS2IDE during debugging to maintain the association of sections to source files (used for toggling breakpoints or showing suspend locations). |
If you like to enable automatic builds, open the context menu Properties > Builders, select BS2000 Remote Builder and click Edit... to open the dialog Configure Builder in which you can tick During auto builds:

Window > Show View > Other... > BS2000 > Remote BS2000 Compilations) shows the
remote compilations performed during this session.
The Remote BS2000 Procedure Calls view (to be opened via
Window > Show View > Other... > BS2000 > Remote BS2000 Procedure Calls) shows the
remote procedure calls, e.g. the clean, pre-build, of post-build procedures, performed during this session.
If an entry in these views is selected (by clicking on its Date/Time field) the view menu provides
Show Console Output.
The console output is only available during the current Eclipse session, it is not persistently saved.
In the BS2000 Remote Compilations view the listing files can also be inspected via
Open Listing File.
Window > Show View > Other... > BS2000 > Remote BS2000 Project Files) shows a table
of all files belonging to the selected project and their associated compile and delegate rules.