[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.m2m] Re: [ATL] Problem with Inter-model reference
|
Hi,
I have a very similar problem. I want to use the refining mode to
transform Ma:MMa to Ma:MMa. Moreover, Ma contains references to a
"library" Mb:MMa. In my case, Mb contains standard interaction protocols
that can be referenced by Ma. During the refinement of Ma to Ma, I want
to generate a basic behavior template that implements/realizes the
referenced interaction protocol from Mb. The generated Ma should still
reference the interaction protocol in Mb, but the generated behavior
should be part of Ma.
The problem is that Ma can reference any number of libraries. You wrote:
> The "Allow inter-model references" option is only for target models. For
> source models, inter-model references should directly work, provided
> that you load all inter-linked resources.
>
> Could you give more information (e.g., error message, stack trace) please?
Does "provided that you load all inter-linked resources" mean I have to
explicitly declare all referenced models as inputs for the
transformation? This could be hard because Ma can reference any number
of libraries. Is there another way to realizes this? When I do not
explicitly declare Mb as input I always get an error message.
Regards,
Stefan