Reviewing pending changes to the output of SOA transformations

You can use the transformation output merge feature to compare the artifacts that a transformation generates with the existing target project structure and file content. You can then resolve pending changes into the transformation target content.

Before you begin

You must select either Visual merge or Silent merge in the transformation configuration to enable the capabilities for merging transformation output.

About this task

To visually compare generated artifacts with the target source:

Procedure

  1. In the Merge the Transformation Output window, review the pending changes to the target source, such as generated files, added files, and files to resolve.
  2. Complete any of the following steps:
    • To see how the source UML elements and generated target artifacts are related, click an element in the Source or Target pane. If the element is associated with a target file, the file contents are displayed in the Generated target content and Existing target content panes.
    • In the Target pane, review the domain-specific artifacts that the transformation generates. Decorators beside the artifact names indicate the direction of the updates: for example, whether the source element contains updates to propagate to the target artifact, or whether the target artifact contains updates to propagate to the source element.
    • To filter proposed changes by type in the Target pane, click Filter the Proposed Changes. The default filter is set to Show Changes.
    • To switch to a structural view of the generated artifacts, click EMF Merge View. To return to a textual view of the selected artifact in the Target pane by clicking Text View.

What to do next

Now, you can merge pending changes into the existing target content or cancel the merge session.

Feedback