Validating UML-to-EJB 3.0 transformation configurations

You can validate a transformation configuration to ensure that the values in the configuration are valid according to the requirements of a transformation.

Before you begin

A transformation configuration must exist in the current workspace. Transformation configurations have .tc as a file name extension.

About this task

You can select multiple transformation configuration files and validate them simultaneously.

During the validation process, the transformation service attempts to open the transformation source and target, which might impact performance if the source or target model is not open or if the source model is large.

To validate transformation configurations automatically, enable the transformation configuration validation preference: Click Window > Preferences > Modeling > Transformations; then select the Validate transformation configurations when you open or update them check box. Each time you open or update a transformation configuration, the transformation service validates it.

To validate transformation configurations manually, in the navigation view, select one or more transformation configuration files, right-click them; then click Transform > Validate.
Tip: You can also validate a transformation configuration from any page in the transformation configuration editor: In the toolbar on the upper right, click the Validate the transformation configuration icon.

Results

The Problems view displays errors in the transformation configuration.

Feedback