Compiling Java Code

You can compile each Java Code activity and Java Process Starter resource individually with the Compile button on the Code tab, or you can compile all Java Code and Java Process Starter resources in your project at once with the Tools > Java Code > Compile All Code menu item.

When you use the Compile All Code menu item, the Compile All Code dialog appears. Compile All Code dialog illustrates this dialog.

Figure 86: Compile All Code dialog

All process definitions containing Java Code activities and Java Process Staters that do not compile successfully are listed in the Activities area. Each Java Code activity or Java Process Starter is listed under the process definition in which it is located. You can select any Java Code activity or Java Process Starter in the Activities area to display the compilation errors for that activity.

The dialog has the following buttons:

  • Start/Cancel Compile — Click Start Compile to begin compiling all Java Code activities and Java Process Starters in your project. When the code is compiling, this button is renamed Cancel Compile to allow you to cancel the compile all operation.

  • Go To Resource —You can select any process definition, Java Process Starter, or Java Code activity, then click the Go To Resource button to display that resource in the design and configuration panels.

  • Close — Closes the Compile All Code dialog.