Create EMF project from OMG's CCCMP metamodel. [message #627893] |
Sat, 22 August 2009 20:58 |
Bernie Bussiere Messages: 13 Registered: July 2009 |
Junior Member |
|
|
I'm trying to create an EMF project using OMG's CCCMP metamodel from
http://www.omg.org/spec/CCCMP/1.0/ (07-05-16.xml), but have not had any
success.
Is this an expected use case for the EMF/UML modeling tools?
What I've tried (Galelio release).
Try1:
- changed file's extension to 07-05-16.xmi (from .xml)
- Opened with UML Model Editor - Failed
- Multiple IllegalValueException: for 'pk_return' & 'pk_in'
Guess using .xmi was not correct thing to do.
Try2:
- changed file's extension to 07-05-16.uml
- Opened with UML Model Editor - Succeeded
- The tree diagram under "model" had all "Any Type"
Basically unreadable and not what I was expecting.
Was expecting classes like: Valuedef; IDLType; ArrayDef; etc.
But still tried to create an EMF project using the 07-05-16.uml file.
- New->Project...->Eclipse Modeling Framework->EMF Project
- "EMF Project" pane: Project Name - CCCMP MetaModel
- "Select a Model Importer" pane: UML model
- "UML Import" pane:
selected 07-05-16.uml file
used default Options
used default .genmodel name
pressed Load (pane fades for a moment, something was happening)
No errors reported
- Problem:
The "Next>" and "Finish" buttons are not highlighted.
So can't continue to create project and no errors shown in window.
UML Import top pane says:
"Choose options, specify one or more '.uml2' '.uml' ...."
but there is a .uml file selected.
Try3:
- Per newsgroup thread 5/21/2007 "Load Model from Enterprise Architect"
- changed file's extension to 07-05-16.uml2
- changed namespace in .uml2 file
from: "http://schema.omg.org/spec/UML/2.1"
to: "http://www.eclipse.org/uml2/1.0.0/UML"
(also tried 2.0.0 & 3.0.0)
- Same results opening with UML Model Editor and creating EMF project.
Not sure what to try next.
Bernie
|
|
|
Powered by
FUDForum. Page generated in 0.05073 seconds