Compiling Java Code

You can compile each Java Code activity individually with the Compile button on the Code tab, or you can compile all Java Code activities 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 82: Compile All Code dialog

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

The dialog has the following buttons:

  • Start/Cancel Compile — Click Start Compile button to begin compiling all Java Code activities 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 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.