Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319530 - [ComponentD] Creating a new gmfgen Generator model fails
Summary: [ComponentD] Creating a new gmfgen Generator model fails
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 06:56 EDT by Christian Waniek CLA
Modified: 2012-12-11 15:13 EST (History)
1 user (show)

See Also:


Attachments
broken gmfgen for class diagrams (637.92 KB, application/octet-stream)
2010-07-14 09:13 EDT, Christian Waniek CLA
no flags Details
CompD recreated with I20100708 and 3.6R versions of dependencies (16.67 KB, application/empty)
2010-07-16 05:27 EDT, Michael Golubev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Waniek CLA 2010-07-12 06:56:29 EDT
Build Identifier: 

While trying to extend the Component Diagram I found a bug which produces an broken generator model (gmfgen file). The simplest way to produce the bug is as follows:

1. be sure to have the latest componentDiagram.gmfmap file
2. create a new generator model from this mapping file (I had five validation error to ignore)
3. the generation process comes out with nine validation errors in the gmfgen-file (when I validate the original file from the repository I only have six errors)

These three additional validation errors are concerning the custom Parsers

- The feature 'uses' of 'Custom Parser org.eclipse.uml2.diagram.common.parser.stereotype.ClassifierAppliedStereotypeParser' with 0 values must have at least 1 values
- The feature 'uses' of 'Custom Parser org.eclipse.uml2.diagram.common.parser.stereotype.DependencyAppliedStereotypeParser' with 0 values must have at least 1 values
- The feature 'uses' of 'Custom Parser org.eclipse.uml2.diagram.common.parser.stereotype.PackageAppliedStereotypeParser' with 0 values must have at least 1 values

In the Properties View are no values for 'Label Facets using this parser', which are in the original generator model.

I have no clue why this isnformation is gone missing.

Reproducible: Always
Comment 1 Christian Waniek CLA 2010-07-14 09:13:56 EDT
Created attachment 174288 [details]
broken gmfgen for class diagrams

I simply tried to create a new generator model from the classDiagram.gmfmap without having made any changes to the gmfmap file previously. I attached the resulted gmfgen.

I have all dependencies installed to my target platform which are required for this U2T version: 0.9.0 / I20100708 (2010/07/08)
Comment 2 Michael Golubev CLA 2010-07-16 05:27:33 EDT
Created attachment 174479 [details]
CompD recreated with I20100708 and 3.6R versions of dependencies
Comment 3 Michael Golubev CLA 2010-07-16 05:28:30 EDT
Unfortunately I can't reproduce the problem, attached above please see the results gmfgen files recreated in my environment.
Comment 4 Christian Waniek CLA 2010-07-16 10:33:19 EDT
I managed to get it working when I have the gmf-tooling plugins checked out from CVS and imported in my development workspace. But I don't know why this is working now.

Maybe this bugzilla could be closed now...
Comment 5 Christian Waniek CLA 2010-07-19 08:09:04 EDT
Was only a setup problem of my development workspace.