|Re: dynamic_package loading metamodels [message #502488 is a reply to message #502445]
||Tue, 08 December 2009 14:18
| Ed Merks
Registered: July 2009
> Hello Community,
> I created 3 .ecore files and tried to load them with the extension
> point dynamic_package of org.eclipse.emf.ecore.
> It looks like:
> </resource> </extension>
> After starting a new Runtime-Configuration I find the package
> registered, when I check it for instance in the Metamodel Explorer.
> But when I try to load a model, which uses these metamodels, then
> Eclipse cannot find the used elements of the metamodel.
The should appear in the EPackage.Registry.INSTANCE just like a
registered generated package and should be found just as any other. I'm
not sure why that sound't be the case for you.
> Also when I try to create in the runtime configuration a new metamodel
> which should extend one of the registered metamodels, I cannot load
> one of these through "Load Resource", only possible loading as
> "Runtime Version" and not as "Development Time Version". By the way
> what are the difference between these to versions?
Given there is no GenModel for these, there is no development time
version. The development time version is always a dynamic one, but it's
not registered because the generated one is registered instead; it's
wrapped by a GenModel and available in that way.
> Any ideas I would appreciate.
Powered by FUDForum
. Page generated in 1.89799 seconds