| Summary: | Merging the UML metamodel with diagrams for OMG's UML 2.4 RTF | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MDT.UML2 | Reporter: | Nicolas Rouquette <nicolas.f.rouquette> | ||||||||||||
| Component: | Core | Assignee: | Kenn Hussey <Kenn.Hussey> | ||||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||||
| Severity: | blocker | ||||||||||||||
| Priority: | P3 | CC: | Ed.Merks, Kenn.Hussey | ||||||||||||
| Version: | unspecified | Flags: | Kenn.Hussey:
pmc_approved+
Ed.Merks: pmc_approved+ Kenn.Hussey: review+ |
||||||||||||
| Target Milestone: | RC4 | ||||||||||||||
| Hardware: | All | ||||||||||||||
| OS: | All | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Nicolas Rouquette
Created attachment 170446 [details]
UML 2.4 Infrastructure Library (test example)
Created attachment 170447 [details]
UML 2.4 PrimitiveTypes library (test example)
Created attachment 170448 [details]
UML 2.4 L0 package merge map.
Try merging this model and then either validating or saving the model to reproduce this bug.
Created attachment 170449 [details]
Patch
Created attachment 170574 [details]
alternative patch
Here's a slightly different patch. Please confirm that this meets your needs.
Thanks Kenn! This works just fine. We can merge UML 2.4 any way we want, before removing tool-specific content (e.g., diagrams) or after (i.e., diagrams stay in the resulting package) With this, Eclipse UML2 unconditionally supports the metamodeling workflows involved in the production of OMG UML 2.4. Of course, this doesn't mean that Eclipse UML2 provides support for OMG UML 2.4 itself; only that the metamodeling machinery needed to produce it works as advertised and in compliance with the fine print of the OMG specifications. The changes have been committed to CVS. This fix is available in 3.1.0 RC4. Excellent! This turns out to be useful because merging the UML with diagrams does preserve in the resulting model the diagram information. Of course, if we do the conversion prior to merging, then we'd be able to merge without this fix but then we loose much more information that may be useful for other purposes. |