|
|
|
|
|
|
|
|
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1059247 is a reply to message #1058278] |
Wed, 15 May 2013 10:52 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
Hi
https://bugs.eclipse.org/bugs/show_bug.cgi?id=220218 is indeed a major
improvement, but
EMF used to provide the registries to resolve URIs; they were not
populated in standalone mode.
The bug fix provides the ability to populate them standalone, but
Applications must invoke the EcorePlugin.ExtensionProcessor.process() to
perform that population, so without a code change in Acceleo, or user
code, the bug fix is useless.
The bug fix does a nice job of scanning the classpath so that a
resolution of each URI is available. However IIRC you must add
additional URI mappings to make platform:/resource and platform:/plugin
interchangeable. If you want to go further and make physical and ns URIs
interchangeable and so defeat metamodel schizophrenia, you need the
extra redirecting package registry entries that OCL's ProjectMap provides.
Regards
Ed Willink
On 13/05/2013 13:50, Stephane Begaudeau wrote:
> Hi,
>
> In order to access metamodels, Acceleo uses the global package
> registry managed by EMF and we have our own package registry where the
> metamodels of the workspace are registered. Since we are here talking
> about metamodels in the target platform, Acceleo is not doing anything
> specific to support them. I believe that Ed Merks has worked on
> improving the situation in the
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=220218 so it may appear
> that Acceleo 3.4 improve the situation but since we are only relying
> on the standard behavior of EMF here (and we have always been for
> that), any credit should go to Ed Merks if things are improved on this
> subject with Kepler.
>
> Regards,
>
> Stephane Begaudeau, Obeo
>
> --
> Twitter: http://twitter.com/#!/sbegaudeau
> Google+: https://plus.google.com/u/0/105625286543794908607/
> Blog: http://stephanebegaudeau.tumblr.com |
> http://stephanebegaudeau.tumblr.com/post/37318392815/eclipse-java-development-tools
|
|
|
Powered by
FUDForum. Page generated in 0.04024 seconds