Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Create EMF project from OMG's CCCMP metamodel.
Create EMF project from OMG's CCCMP metamodel. [message #627893] Sat, 22 August 2009 20:58
Bernie Bussiere is currently offline Bernie BussiereFriend
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
Previous Topic:UML2Ecore convertion
Next Topic:Create EMF project from OMG's CCCMP metamodel.
Goto Forum:
  


Current Time: Fri Mar 29 00:39:41 GMT 2024

Powered by FUDForum. Page generated in 0.05073 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top