| Summary: | Move diagram-specific EClasses into a separate EPackage | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
| Component: | Diagram | Assignee: | Laurent Redor <laurent.redor> |
| Status: | CLOSED FIXED | QA Contact: | Maxime Porhel <maxime.porhel> |
| Severity: | major | ||
| Priority: | P1 | CC: | florian.barbin, laurent.redor, maxime.porhel |
| Version: | unspecified | Keywords: | triaged |
| Target Milestone: | 1.0.0M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 423052, 427803 | ||
|
Description
Pierre-Charles David
A specific branch, named "bug/423037_SplitDiagramEPackage", has been created for this feature. A first step is to remove all the contents of src-gen folder and generate without any changes in order to have a clean base of code (including the javadoc contents and formatting). This step will allow us to facilitate the comparison after the splitting. Commit : http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=48ea5d933dbd19e5328bd94f447ce7934cfbed01 To facilitate the review of all impacted classes with this bugzilla, the job will be split in several commits. The first ones will not allow to compile all the plugins. There will be: * A commit to regenerate and clean org.eclipse.sirius. * Then a As has already been done for org.eclipse.sirius, there are also steps to generate without any change in order to have a clean base of code (including the javadoc contents and formatting) for org.eclipse.sirius.ui [1] and org.eclipse.sirius.editor [2]. [1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=622aab973b1b8d65b9c71a120e1f127d2655b103 [2] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=9ac5ecd5c5ea34d38fb79f0ea5658ed769297280 To facilitate the review of all impacted classes with this bugzilla, the job will be split in several commits. The first ones will not allow to compile all the plugins without error. There will be: * A first commit with ** the creation of diagram EPackage in meta-model (and all corresponding classes) ** the generation of Model classes (in org.eclipse.sirius) ** the fix of all compilation problems in org.eclipse.sirius (however the other Sirius plugins will contain compilation issues that will be fixed later). * Then a commit to regenerate and clean org.eclipse.sirius.ui (however the other Sirius plugins will contain compilation issues that will be fixed later). * Then a commit to regenerate and clean org.eclipse.sirius.editor (however the other Sirius plugins will contain compilation issues that will be fixed later). * And finally a commit to fix all compilation issues in other Sirius plugins. Update on the status of this issue: * Add migration for existing VSM and representations files: [1] * Clean some code or fix some problems in previous commits: [2], [3], [4] * Split style EPackage (viewpoint/description/style) : [5], [6], [7] The next step is the split of tool EPackage (viewpoint/description/tool). [1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=e2924d8751333d115804823e8335a1dccfbef729 [2] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=84dc76ed54aeedae82287f4409b340fc1cc228b1 [3] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=ada340b286ace6b44a4e66565a5826dc656a52d3 [4] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=9c1fa2b242208c4389c0d235497e8da7fc2c111f [5] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=5df4976f99097d00637530a836914a1f43602e8e [6] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=ecf922bd51fa4ecfff3b0f2025aa6253bf02c817 [7] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=c378f78e73e7b0685fd170b3df889c5463e6624b * Migrate our ecore sample [1] * Split tool, validation and concern EPackages (viewpoint/description/tool, viewpoint/description/validation and viewpoint/description/concern) [2] * Migration for the previous split [3] * Add specific chapter in API changes [4] All this work should soon be integrated to master. [1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=fe7630760234197d173324dfaa0a73c643f5cd40 [2] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=d4b955602d41e6f0c6058801ff28b6d6cdb931e4 [3] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=189666765c98c5bcab43016e511e721767608b92 [4] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=bug/423037_SplitDiagramEPackage&id=977737967fabdcf9f7608e65ae198a973f85fbd8 Other commits have taken place to fix some bugs discovered through our tests. The branch was merged on master to be integrated in 1.0.0 M5. This ticket is resolved in 1.0.0 M5 even if it certainly remains some minor fixes concerning these changes that will be added in M6. Validated using: * Luna M4 * Sirius 1.0M5 (1.0.0-N20140127-060036) Available in Sirius 1.0.0M5, see https://wiki.eclipse.org/Sirius/1.0.0M5 for availability details. |