Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] several Resources in a ResourceSet
[ATL] several Resources in a ResourceSet [message #105706] Wed, 27 May 2009 11:02 Go to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
Hi all,

If a resource set (for the source model) contains several resources it
seems like the transformation considers only the first one.

Is there a way that all Resources are processed?

Regards,
Henrik
Re: [ATL] several Resources in a ResourceSet [message #106248 is a reply to message #105706] Tue, 09 June 2009 06:45 Go to previous messageGo to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
to be more precise I should add that the Resources are not cross-linked
by EMF References

Henrik Rentz-Reichert wrote:
> Hi all,
>
> If a resource set (for the source model) contains several resources it
> seems like the transformation considers only the first one.
>
> Is there a way that all Resources are processed?
>
> Regards,
> Henrik
Re: [ATL] several Resources in a ResourceSet [message #106276 is a reply to message #106248] Tue, 09 June 2009 08:58 Go to previous messageGo to next message
Andy Carpenter is currently offline Andy CarpenterFriend
Messages: 145
Registered: July 2009
Senior Member
Henrik,

ATL transformations take one or more models as input, they do not
talke a resource set.

Andy.

"Henrik Rentz-Reichert" <hrr@protos.de> wrote in message
news:h0l0e2$gsp$1@build.eclipse.org...
> to be more precise I should add that the Resources are not cross-linked
> by EMF References
>
> Henrik Rentz-Reichert wrote:
>> Hi all,
>>
>> If a resource set (for the source model) contains several resources it
>> seems like the transformation considers only the first one.
>>
>> Is there a way that all Resources are processed?
>>
>> Regards,
>> Henrik
Re: [ATL] several Resources in a ResourceSet [message #106299 is a reply to message #106276] Tue, 09 June 2009 09:46 Go to previous messageGo to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
Andy,

sure, they take models. But if I use EMF models somewhere a
EMFModelFactory and a EMFInjector enter the game.

Does that mean (provided the pre-installed factories behave not the way
I like) I have to register my own versions?

And if so, can you point me to an example how this is done?

Thanks,
Henrik

Andy Carpenter wrote:
> Henrik,
>
> ATL transformations take one or more models as input, they do not
> talke a resource set.
>
> Andy.
>
> "Henrik Rentz-Reichert" <hrr@protos.de> wrote in message
> news:h0l0e2$gsp$1@build.eclipse.org...
>> to be more precise I should add that the Resources are not cross-linked
>> by EMF References
>>
>> Henrik Rentz-Reichert wrote:
>>> Hi all,
>>>
>>> If a resource set (for the source model) contains several resources it
>>> seems like the transformation considers only the first one.
>>>
>>> Is there a way that all Resources are processed?
>>>
>>> Regards,
>>> Henrik
>
Re: [ATL] several Resources in a ResourceSet [message #106360 is a reply to message #106299] Tue, 09 June 2009 12:38 Go to previous message
William Piers is currently offline William PiersFriend
Messages: 303
Registered: July 2009
Senior Member
Hello,

Here you can find documentation about that concepts:
http://wiki.eclipse.org/ATL/Developer_Guide#Core

The part you want to extend is defined under the following plugin:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.core/?root=Mode ling_Project

And here you can find two implementations of the core concepts (IModel,
ModelFactory and so on):
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.core.emf/?root= Modeling_Project
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.core.ui.vm/?roo t=Modeling_Project

Best regards,

William

Henrik Rentz-Reichert a écrit :
> Andy,
>
> sure, they take models. But if I use EMF models somewhere a
> EMFModelFactory and a EMFInjector enter the game.
>
> Does that mean (provided the pre-installed factories behave not the way
> I like) I have to register my own versions?
>
> And if so, can you point me to an example how this is done?
>
> Thanks,
> Henrik
>
> Andy Carpenter wrote:
>> Henrik,
>>
>> ATL transformations take one or more models as input, they do not
>> talke a resource set.
>>
>> Andy.
>>
>> "Henrik Rentz-Reichert" <hrr@protos.de> wrote in message
>> news:h0l0e2$gsp$1@build.eclipse.org...
>>> to be more precise I should add that the Resources are not cross-linked
>>> by EMF References
>>>
>>> Henrik Rentz-Reichert wrote:
>>>> Hi all,
>>>>
>>>> If a resource set (for the source model) contains several resources it
>>>> seems like the transformation considers only the first one.
>>>>
>>>> Is there a way that all Resources are processed?
>>>>
>>>> Regards,
>>>> Henrik
Previous Topic:[ATL] developing a transformation and the target model in parallel
Next Topic:[ATL] SideEffect example - ant build doesn't work
Goto Forum:
  


Current Time: Sat Jan 25 17:12:30 GMT 2025

Powered by FUDForum. Page generated in 0.05234 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top