Compiling a collaboration template

The final task required to build a collaboration template is compiling the template. After you define the template properties, scenarios, activity diagrams, and message file, you must compile the collaboration template. The following files are created during compilation:

After the template is compiled in Process Designer Express, these files are created in your Integration Component Library user project in System Manager. (For exact locations, see Compiling a collaboration template.)

Process Designer Express offers two ways to compile collaboration templates:

Compiling a single template

There are several ways to initiate compilation of a single collaboration template:

If the Compile Output window is not already open, Process Designer Express opens it at the bottom of the main window to display compilation messages.

If an error occurs during compilation, do the following:

  1. Trace the error by double-clicking the error message in the output window.

    The activity diagram whose code generated the compilation error appears, with the faulty node selected.

  2. Fix the problem and recompile. Repeat this process until you get the message:
    Code Generator: Code generation succeeded.
     

Compiling multiple collaboration templates

The Process Designer Express File menu includes a Compile All menu option that enables you to compile all (or a subset) of the collaboration templates in your Integration Component Library user project. Perform the following steps to compile multiple templates:

  1. If you have a template open in Process Designer Express, close it now.
  2. Click File --> Compile All. The Compile All Templates dialog box opens. It displays a grid of all templates in the user project. By default, all templates are selected for compilation.
  3. Clear the checkboxes next to any templates you do not want to compile.
  4. Click Continue.
  5. When you are prompted to confirm the compilation, click Yes.

Copyright IBM Corp. 2003, 2004