In order to resolve code-level dependencies, you must first add
project references to trigger code generation of referenced models. Required
transformation configurations in the referenced project can then be added
automatically to the dependent transformation configuration during a build
or transformation operation.
Before you begin
First, add any cross model dependencies in your UML development model.
For example, with two models open, drag classes from one model onto a class
diagram from another model; then draw required relationships between the mixed-model
classes.
About this task
To add a project dependency for UML development models:
Procedure
- Right-click the UML development project you want to add a dependency
to; then click PropertiesProject References.
- Select the check boxes for the projects that the UML development
models inside the current project have dependencies to.
- Click OK.
What to do next
Once you have added the requisite project references, when you build
a project with dependencies, you will be prompted to either add the referenced
objects to your local source or to add a reference from the local transformation
configuration to the transformation configuration in the referenced project.