Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Unsupported registration
[ATL] Unsupported registration [message #50382] Mon, 02 July 2007 09:29 Go to next message
Eclipse User
Originally posted by: francopinchetti.yahoo.it

Hello everybody,

I have a metamodel called ModelFragmentMM containing classes named
ObjectFragment and I have this helper:



helper def : ofList : Sequence(ModelFragmentMM!ObjectFragment) =
ModelFragmentMM!ObjectFragment.allInstances()->asSequence();



When I lunch my transformation the console says:



Unsupported registration: QMModelFragmentMM!ObjectFragment;



What's the problem?



Thanks

Franco
Re: [ATL] Unsupported registration [message #50578 is a reply to message #50382] Wed, 04 July 2007 04:33 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric Jouault
Messages: 572
Registered: July 2009
Senior Member
Hello,

I do not believe your problem comes from the helper you listed.

The error message you reported is typically triggered when you have a
helper in the context of a collection, like:

helper context Sequence(ModelFragmentMM!ObjectFragment) def : someHelper
: SomeType =
someExpression;

Can you please check whether you have such a helper or not?

Thanks.


Regards,

Frédéric Jouault


Franco wrote:
> Hello everybody,
>
> I have a metamodel called ModelFragmentMM containing classes named
> ObjectFragment and I have this helper:
>
>
>
> helper def : ofList : Sequence(ModelFragmentMM!ObjectFragment) =
> ModelFragmentMM!ObjectFragment.allInstances()->asSequence();
>
>
>
> When I lunch my transformation the console says:
>
>
>
> Unsupported registration: QMModelFragmentMM!ObjectFragment;
>
>
>
> What's the problem?
>
>
>
> Thanks
>
> Franco
>
>
>
Re: [ATL] Unsupported registration [message #50712 is a reply to message #50578] Wed, 04 July 2007 05:49 Go to previous message
Eclipse User
Originally posted by: francopinchetti.yahoo.it

Thanks, you was right. I have a helper like that in a libray.
Thank you very much
Franco

"Fr
Previous Topic:[ATL] ADT feature in CVS inconsistent w/ repository
Next Topic:[ATL] combined rules don't work
Goto Forum:
  


Current Time: Wed Apr 23 02:47:52 EDT 2014

Powered by FUDForum. Page generated in 0.01534 seconds