|[Acceleo 3.0.1] Error notifying registry change listener. [message #643561]
||Tue, 07 December 2010 12:46
| Manuel Selva
Registered: July 2009
Location: Grenoble, France
I am starting to play with Acceleo 3 in order to automate one repetitive tasks of my daily work as Eclipse plugin developer.
In this context I want to generate several Java classes from an EMF model (xmi file) conform to a given meta model (an ecore file). This is done manually by myself during development stage, no need to programatically generate code.
Using for loops and the file tag, I successfully generated my class files for all model elements. Now I need to generate the content of the file, and for this I need an other for loop inside the file tag. After added this loop I always get many errors (crashing my workbench) of type:
"Error notifying registry change listener."
Any ideas why ? How can I solve this blocking issue please ?
Any help would be really appreciated,
Thanks in advance
[Updated on: Tue, 07 December 2010 13:05]
Report message to a moderator
|Re: [Acceleo 3.0.1] Error notifying registry change listener. [message #643796 is a reply to message #643564]
||Wed, 08 December 2010 09:53
| Laurent Goubet
Registered: July 2009
This is a multi-part message in MIME format.|
Content-Type: text/plain; charset=UTF-8; format=flowed
This is due to us relying on OSGi's "hot removing" of bundles, but some
plugins aren't being good citizens with their extension points : when we
(Acceleo) remove said plugins, their contributions to the plugin
registry remain... and you get the error you observed.
This is a known Acceleo limitation. As we can't expect the plugin
designers to change their extension points to accept hot
plugging/removing, we need to find a way to workaround this issue ...
but don't expect this workaround to be there before 3.1M6 at least.
For the time being, your options are limited : this issue comes from
Acceleo's dynamic mode. When you launch the generator located in plugin
A, we'll walk the workspace projects in order to check whether one of
them is a dependency of A. If A or one of its dependencies is in the
workspace, and extends an extension point that presents the issue of not
being dynamic, you'll have this error. You can then :
- remove from your workspace the dependencies you don't need to be there
(if they're already installed)
- launch a runtime Eclipse and launch your generation from there (either
with only your generator project in the workspace or, even better,
having defined an action to launch the generation from a right-click, a
This will be investigated (and, hopefully, fixed) before 3.1 goes live,
but I can't give any more precise date.
On 07/12/2010 14:06, Manuel Selva wrote:
> After more investigations it seems it's not related to a for loop in a
> file tag. In fact the problem start occurring the second time i am
> launching my "Generate" Acceleo launch configuration.
Content-Type: text/x-vcard; charset=utf-8;
Powered by FUDForum
. Page generated in 0.04089 seconds