Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Ecore model and Jet Template
[ATL] Ecore model and Jet Template [message #86947] Wed, 23 July 2008 19:29 Go to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Hi all,

We have a mapping tool and we are hoping to use it to generate an ATL
mapping. Does anyone know if there is an ATL Metamodel (in Ecore) and /
or a Jet template that we could use to generate the ATL program from an
instance of this metamodel?

Thanks,
Ian
Re: [ATL] Ecore model and Jet Template [message #87023 is a reply to message #86947] Thu, 24 July 2008 11:06 Go to previous messageGo to next message
Alain MICHEL is currently offline Alain MICHELFriend
Messages: 9
Registered: July 2009
Junior Member
Yes, there is an ATL metamodel. When you launch an ATL transformation
written in the ATL concrete syntax, it is then injected into an ATL
model conformed to the ATL metamodel. This also means that you can
create a ATL transformation model from another ATL transformation.

The metamodel is here :
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.atl/plugins/org.eclipse.m2m.atl.engine/src/org/ecli pse/m2m/atl/engine/resources/ATL-0.2.ecore?root=Modeling_Pro ject&view=log

To extract an ATL model to its concrete syntax (the ATL program) and to
inject an ATL program into a ATL model, a TCS injector and extractor are
used. TCS is a tool used to bridge the grammar technical space (programs
defined by a grammar) and the model technical space (models conformed to
a metamodel).
Installing the AM3 plugin will let you inject and extract ATL
transformation from the eclipse UI.
http://www.eclipse.org/gmt/am3/download/

Ian Bull wrote :
> Hi all,
>
> We have a mapping tool and we are hoping to use it to generate an ATL
> mapping. Does anyone know if there is an ATL Metamodel (in Ecore) and /
> or a Jet template that we could use to generate the ATL program from an
> instance of this metamodel?
>
> Thanks,
> Ian
Re: [ATL] Ecore model and Jet Template [message #87100 is a reply to message #87023] Thu, 24 July 2008 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Thank-you so much!

I have been very excited about the TCS project, but this is my first
chance to use it.

BTW, I grabbed the ATL-0.2.ecore file, and there are a few problems. The
primitive types don't have instance names associated with them. (so you
can't create the genmodel from it).

Once I added these types, it worked fine.

Do you want me to open a bug about this?

Thanks again,
- Ian

Alain Michel wrote:
> Yes, there is an ATL metamodel. When you launch an ATL transformation
> written in the ATL concrete syntax, it is then injected into an ATL
> model conformed to the ATL metamodel. This also means that you can
> create a ATL transformation model from another ATL transformation.
>
> The metamodel is here :
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.atl/plugins/org.eclipse.m2m.atl.engine/src/org/ecli pse/m2m/atl/engine/resources/ATL-0.2.ecore?root=Modeling_Pro ject&view=log
>
>
> To extract an ATL model to its concrete syntax (the ATL program) and to
> inject an ATL program into a ATL model, a TCS injector and extractor are
> used. TCS is a tool used to bridge the grammar technical space (programs
> defined by a grammar) and the model technical space (models conformed to
> a metamodel).
> Installing the AM3 plugin will let you inject and extract ATL
> transformation from the eclipse UI.
> http://www.eclipse.org/gmt/am3/download/
>
> Ian Bull wrote :
>> Hi all,
>>
>> We have a mapping tool and we are hoping to use it to generate an ATL
>> mapping. Does anyone know if there is an ATL Metamodel (in Ecore) and
>> / or a Jet template that we could use to generate the ATL program from
>> an instance of this metamodel?
>>
>> Thanks,
>> Ian
Previous Topic:[ATL] Open Run Dialog
Next Topic:[ATL] Problem with the Eclipse BPEL ecore Metamodel
Goto Forum:
  


Current Time: Fri Dec 27 12:06:19 GMT 2024

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

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

Back to the top