Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #436435 +++ Since Sirius rc1 is available, I have a problem related to Sirius bundles loading in the case or an ecore model reference Sirius ecore models (viewpoint.ecore and diagram.ecore). Here's a simplified example that causes this problem. I have two ecore models: MainModel.ecore which is extensible and DiagramUse.ecore which is an extension to MainModel.ecore (see classes.jpg). Models and projects are available in diagram.zip. DiagramUse.ecore contains ModelRootElement EClass that has an: 1 - EReference whose EType is "org.eclipse.sirius.diagram/model/diagram.ecore#//Description/DiagramDescription" 2 - EAttribute whose EType is "org.eclipse.sirius/model/viewpoint.ecore#//LabelAlignment" Here's a scenario to reproduce the problem: 1. Import all the projects from diagram.zip into the workspace. Everything should build without error. 2. Launch a runtime (using the default parameters). 3. In the runtime's workspace, create a basic project, 4. Inside the project, create a "MainModel Model" (available in New > Other > Example EMF Model Creation Wizards). Choose "Model Root" as the root element type. 5. Open "My.mainmodel". It contains a single "Model Root" element. 6. In "Model Root" element, create a child of type "Model Rool Element" 7. Close the editor, and close the (runtime) Eclipse. 8. Restart the runtime. Open the project, and open the "My.mainmodel"
See https://git.eclipse.org/r/30800
Corrected on 1.0.x branch by commit 87e7457917d198c4fbf25db2ea6713266336a94a
Corrected on v1.0.x branch by commit 14b7ad13dc5136df1f1bc7d68410f41b7d9feb75 The previous comment indicate the master commit id. (In reply to Maxime Porhel from comment #2) > Corrected on 1.0.x branch by commit 87e7457917d198c4fbf25db2ea6713266336a94a
*** Bug 446510 has been marked as a duplicate of this bug. ***
*** Bug 446508 has been marked as a duplicate of this bug. ***
*** Bug 448153 has been marked as a duplicate of this bug. ***
*** Bug 446509 has been marked as a duplicate of this bug. ***
*** Bug 448154 has been marked as a duplicate of this bug. ***
*** Bug 450274 has been marked as a duplicate of this bug. ***
*** Bug 449314 has been marked as a duplicate of this bug. ***
Available in Sirius 1.0.1.