[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: [CDO] Importing a UML model

Maurice,

Comments below...


Maurice schrieb:
> Hi,
>
> I want to import a UML 2.1 model into my CDO Server. 
Unfortunately that's not possible as of now.
The UML2 not only is a "legacy model" from the perspective of CDO (i.e.
not generated for CDO).
It (like OCL and the GMF notational model) is even very naughty because
it *extends* Ecore, which is an official no-no.

While I'm just at this moment working on general legacy model support in
CDO,
Kenn Hussey (CC'ed) from the UML2 project indicated that he might come
up this week with an initial patch of UML2,
so that it becomes a CDO native model.

Please stay tuned ;-)


> I'm under the impression that this involves:
>
> 1. Registering the package on the server using the client's package
> manager
> 2. Importing the resource from a transaction (finding my .uml file and
> opening it)
>
> When I follow these steps I get this error:
>
> org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
> 'http://www.eclipse.org/uml2/2.1.0/UML' not found.
> (file:/C:/myfile.uml, 2, 178)
Generally stack traces are welcome.
But in this case all the explanantion is above...

Cheers
/Eike

----
http://thegordian.blogspot.com