Setting Your BPM Project to Pre-Compilation

If you want to enable projects to be compiled without having to regenerate the derived artifacts, you must enable the BPM destination project to pre-compile.

Once you have set a project to pre-compile, you must not change any of the assets, for example, the business object model or WSDL files in the project. In other words, you must not add, update, copy/paste or delete files. Business Studio validates this, so any changes to the WSDL, XSD or BOM related files causes error messages in the Problems view. If you want to make any changes, you must disable pre-compile, make the changes and then set the project to pre-compile again.

Prerequisites

  • Pre-compile is only available for projects with pre-compilable assets (WSDLs and BOMs).
  • All referenced projects that have pre-compilable assets must also be pre-compiled. This can be done when setting your BPM project to pre-compile, as described below.
  • To enable pre-compilation, a project must have no problem markers or unsaved changes.

Procedure

  1. From Project Explorer, right-click the project you want to pre-compile and select Pre-compile Project > Enable.
    The Enable Pre-Compile on Project dialog displays.
  2. If there are referenced projects, the Enable Pre-Compile on Project dialog, you must select the Enable pre-compilation on referenced projects check box. This enables pre-compile on all the referenced projects.
  3. If any of the referenced projects cannot be set to pre-compile (for example, the project contains the wrong asset types), an error displays. You must resolve the errors on the reference projects before trying to set your project to pre-compile again.
  4. Select Finish.
    The project is displayed with the pre-compilation icon ().