I have several packages in my EA project, wherein each package contains one physical data model diagram and the classes (tables) that are used in that diagram.
I would like to create a new project that has a single data model diagram in it that contains all of the classes from each other project. Furthermore, I would like the new data model diagram to include all of the classes.
So, basically, I'm asking if there's a way to merge several packages into one new package, and have the data model diagrams be merged too. I want to avoid having to re-create the associations (FK relationships) between the classes during the merge.
I tried this process:
1.] Created a new package, "Merged Physical Data Model"
2.] Exported one of the packages, "Core Schema", using the "Export Package to XMI file" option. The Export completes successfully.
3.] Click on the "Merged Physical Data Model" package and selected "Import Package from XMI file", setting "Treat Import Datatypes" to "DDL:Oracle", but I got this error:
Error: Root import package already exists in another location.
Conflict is with existing package: 'Core Schema'.
So, even though I'm importing into a different project (Merged Physical Data Model) I'm getting an error about a conflict with a package in another package (Core Schema).
My hope was that I could use Export/Import to export all of the objects from their separate projects and import them into a single new project.
Any ideas on how to accomplish what I'm trying to do? Again, I'm really trying to avoid having to re-draw the data model diagrams, I simply want to merge the diagrams into one large diagram.