Building a Workspace

Rather than compiling your source programs one at a time, you can instruct AcuBench to compile all source files in a workspace (including their dependent COPY files) that have been modified since the last build. To do this, you can select Build Workspace from the Build menu or click the Build button on the Project toolbar.

To recompile all programs in the project, regardless of whether they have modified since the last build, use the Rebuild Workspace command, discussed in Rebuilding a Workspace.

By default, each program in the project is compiled according to the compile option settings of the selected project mode. To override the project-level compile settings, right-click the source file in the File view and select Program Compile Options.

During the build, the Output window displays the file name, compiler command line, and either a success (completed) message or list of errors for each file as it is compiled.

If your workspace contains both local and remote objects, you must execute the Build or Rebuild Workspace command twice, once for local projects and once for the remote projects (after selecting the Build > Use Thin Client command). Note that for remote objects, the Build command causes the workbench to check the timestamp that the compiler places in the object file, not the UNIX file creation timestamp.

You can specify some attributes of the build and rebuild process through settings in the Tools > Options > Environment > Build dialog. In that dialog, you can specify such actions as whether the workbench always saves all files or generates code prior to starting compilation.