Regenerating pattern definitions and source code

The content of the pattern RAS manifest (.rmd) files must remain in sync with the pattern definition. If an error occurs, you can resynchronize the manifest with the pattern definition by using the Regenerate Definition Template menu item.

About this task

In the following screen capture, you can see the pattern definition represented in the Project Explorer view. Changes to the pattern definition must be made by using the Pattern Authoring view.
The pattern definition in the Project Explorer view.

In designing the pattern, the Java™ code can get out of sync with the static data in the library or pattern manifest files and errors are reported in the Problem view. You can use the Regenerate Source Code menu item to restore this implementation code.

Procedure

  1. To regenerate the definition template, in the Pattern Authoring view, right-click the pattern and click Regenerate Definition Template. The pattern definition model is regenerated and related errors are removed.
  2. To regenerate the implementation source code, right-click the library or pattern and click Regenerate Source Code. The implementation code is restored.

Feedback