| Summary: | Not able to generate diagram | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] GMF-Tooling | Reporter: | Arthur Daussy <arthur.daussy> | ||||||
| Component: | Core | Assignee: | Michael Golubev <borlander> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | apupier, borlander, chris_42, mistria | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Arthur Daussy
Created attachment 198330 [details]
Error log
Can you please share a link or a zip with the files you use to generate the diagram, so that we can reproduce this bug easily? Yes I am going to do it immediatly. The only problem it that the generation uses a custom feature and it also uses custom sources.
To reproduce this bug you should use:
- The platform modelig RC4 available at :
http://www.eclipse.org/downloads/index-developer.php
- Install Papyrus SDK from the Indigo web site
- Install QVTO 3.1.0 (use to avoid the NPE bug Bug 339995) available at:
http://dl.dropbox.com/u/1059994/m2m-qvtoml-Update-3.1.0RC1.zip
- Install the developper feature available at:
http://dl.dropbox.com/u/1059994/DeveloperFeature.zip
- Install GMF 2.4 build from CVS available at:
http://dl.dropbox.com/u/1059994/GMFToolingLocalBuild.zip
- A finally download the project at:
http://dl.dropbox.com/u/1059994/org.eclipse.papyrus.diagram.activity.zip
You will find in it a folder named model. The error occur when I try to generate the diagram. To do so use the action available throught the feature by right clicking on the Gen file and select "Generate Papyrus Diagram".
Thanks a lot for all help you can give me.
Arthur, One of the problems is that Papyrus uses its own set of templates (under org.eclipse.papyrus.def\dynamic-templates3.5) which instead of AROUND'ing the base GMF templates has some of them copy-pasted. In particular there are 2 xpt's that were corrected in the GMF for #346952 but not picked up by papyrus. Please see attached patch. With this patch applied and using the most recent GMF build (today's nightly one, available at http://modeling.eclipse.org/modeling/gmp/gmf-tooling/downloads/drops/2.4.0/N201106281124/, which has all chances to become the 2.4R) I had no problems with regeneration of ActivityD. Also, there are some suspicious places in the other Papyrus-specific templates, but they are not reproducible with ActivityD. Created attachment 198752 [details]
Fixes the subj by applying the changes from #346952 into papyrus code base
Thus, I am going to mark this as resolved version -> 2.4 Rollback, Set target to 2.4 instead of accidenatlly set Version |