Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] How does ATL handle XMI?
[ATL] How does ATL handle XMI? [message #547459] Sat, 17 July 2010 02:59 Go to next message
Tomas Balderas is currently offline Tomas BalderasFriend
Messages: 64
Registered: July 2010
Member
Hello guys

I am a newcomer to ATL and have a number of questions regarding XMI support. I am trying to launch the UmlActivityDiagram2MSProject use case, the one where the metamodel for the subset of the UML Activity Diagram is found in a XMI file called UMLDI-20030818.xmi. My questions are:

1. Do I have to transform this UMLDI-20030818.xmi file to a .ecore file? If so, how can I do this?

2. I presume that every model processed by an ATL transformation program must be built using an external-to-Eclipse tool and then exported to XMI. Does ATL fully support XMI so this exchange works seamlessly?

3. Is it possible to export a .ecore metamodel to XMI using Eclipse, ATL and EMF?

Thanks a lot in advance. I appreciate your help.

/TB
Re: [ATL] How does ATL handle XMI? [message #547490 is a reply to message #547459] Sat, 17 July 2010 15:25 Go to previous message
Freddy Allilaire is currently offline Freddy AllilaireFriend
Messages: 130
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000809000108020005090502
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

Some answers below.

Le 17/07/2010 04:59, Balderas a écrit :
> Hello guys
>
> I am a newcomer to ATL and have a number of questions regarding XMI
> support. I am trying to launch the UmlActivityDiagram2MSProject use
> case, the one where the metamodel for the subset of the UML Activity
> Diagram is found in a XMI file called UMLDI-20030818.xmi. My questions are:
>
> 1. Do I have to transform this UMLDI-20030818.xmi file to a .ecore file?
No
> If so, how can I do this?
>
> 2. I presume that every model processed by an ATL transformation program
> must be built using an external-to-Eclipse tool and then exported to
> XMI.
ATL delegates to EMF "model handling", so you can create model inside
Eclipse thanks to EMF (or any tool using EMF).
This wiki entry could give some helps to start:
http://wiki.eclipse.org/ATL_FAQ#How_to_create_a_terminal_mod el.3F

> Does ATL fully support XMI so this exchange works seamlessly?
All XMI files created thanks to EMF could be used by ATL.
>
> 3. Is it possible to export a .ecore metamodel to XMI using Eclipse, ATL
> and EMF?
An .ecore model is an XMI file that conforms to Ecore metamodel.
>
> Thanks a lot in advance. I appreciate your help.
>
> /TB

Regards,
Freddy.


--------------000809000108020005090502
Content-Type: text/x-vcard; charset=utf-8;
name="freddy_allilaire.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="freddy_allilaire.vcf"

YmVnaW46dmNhcmQNCmZuOkZyZWRkeSBBbGxpbGFpcmUNCm46QWxsaWxhaXJl O0ZyZWRkeQ0K
b3JnOk9CRU8NCmFkcjtxdW90ZWQtcHJpbnRhYmxlOjs7NyBCb3VsZXZhcmQg QW1wPUMzPUE4
cmU7Q0FSUVVFRk9VOzs0NCA0ODE7RnJhbmNlDQplbWFpbDtpbnRlcm5ldDpm cmVkZHkuYWxs
aWxhaXJlQG9iZW8uZnINCnVybDp3d3cub2Jlby5mcg0KdmVyc2lvbjoyLjEN CmVuZDp2Y2Fy
ZA0KDQo=
--------------000809000108020005090502--
Previous Topic:[ATL] Set a mixed attribute (EFeatureMapEntry)
Next Topic:New to M2M
Goto Forum:
  


Current Time: Sat Apr 20 02:58:56 GMT 2024

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

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

Back to the top