[ATL] How does ATL handle XMI? [message #547459] |
Fri, 16 July 2010 22:59  |
Eclipse User |
|
|
|
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 11:25  |
Eclipse User |
|
|
|
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--
|
|
|
Powered by
FUDForum. Page generated in 0.06803 seconds