Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Toolset for getting started with ATL not available
[ATL] Toolset for getting started with ATL not available [message #489629] Mon, 05 October 2009 12:34 Go to next message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Hi all,

I'm trying to get started with ATL transformations. So the first thing
I want to do is to recreate the ATL tutorial example "Families2Persons".
But unfortunately, I'm not even able to setup/install eclipse properly.

I followed the setup guide on [1]. First I've tried the MODUS
all-in-one bundle, but it seems to be heavily outdated (all components
are from 2007), and it seems to be a windows-only thing, but I'm on
linux.

So I installed the "Eclipse Modeling Tools (includes Incubating
components) (367 MB)" bundle, which includes ATL. But that seems to be
missing the right tools to "Inject KM3 to Ecore Metamodel".

Ok, I've searched this newsgroup, and it seems like I need to install
the AM3 tools from SVN. So I did the checkout as described in [2].
Well, that worked, but it doesn't compile, because it has other
dependencies, one of which is TCS [3]. But on the GMT Downloads page
[4], there is no link for it. It only states "Will be available
soon"...

Ok, so here's my question: Is there any way to get a functional eclipse
install for ATL transformations?

Or as an alternative: Is there anybody with a working install who could
transform my 2 KM3 metamodels to ecore?

Thanks a lot in advance,
Tassilo
__________
[1] http://set.sintef.no/inf5120/index.php/Tool_setup#MODUS_Work bench
[2] http://wiki.eclipse.org/AM3/How_Install_New_AM3_From_SVN
[3] http://www.eclipse.org/gmt/tcs/
[4] http://www.eclipse.org/gmt/download/
Re: [ATL] Toolset for getting started with ATL not available [message #489656 is a reply to message #489629] Mon, 05 October 2009 13:41 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Tassilo Horn <thorn@fastmail.fm> writes:

Hi again,

> Or as an alternative: Is there anybody with a working install who
> could transform my 2 KM3 metamodels to ecore?

Ok, as a workaround, I've modeled the metamodels directly using the
Ecore Diagram Editing component. That solves my first problems, so
basically this topic is solved.

Bye,
Tassilo
Re: [ATL] Toolset for getting started with ATL not available [message #489712 is a reply to message #489656] Mon, 05 October 2009 16:11 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hi Tassilo,

You can find from
http://www.emn.fr/z-info/atlanmod/index.php/New_Results a Ganymede
bundle including ATL (v2.0) + the KM3/AM3/TCS plug-ins (at the bottom of
the page).

Best regards,

Hugo

Tassilo Horn a écrit :
> Tassilo Horn <thorn@fastmail.fm> writes:
>
> Hi again,
>
>> Or as an alternative: Is there anybody with a working install who
>> could transform my 2 KM3 metamodels to ecore?
>
> Ok, as a workaround, I've modeled the metamodels directly using the
> Ecore Diagram Editing component. That solves my first problems, so
> basically this topic is solved.
>
> Bye,
> Tassilo


--
-------------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (INRIA & EMN) - Room B206
Ecole des Mines de Nantes
4, rue Alfred Kastler
44307 Nantes Cedex 3 - France
Office: +33 (0)2 51 85 82 21
EMail: hugo.bruneliere@inria.fr
-------------------------------------------------


--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Re: [ATL] Toolset for getting started with ATL not available [message #489746 is a reply to message #489712] Mon, 05 October 2009 18:23 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Hugo Bruneliere <hugo.bruneliere@inria.fr> writes:

Hi Hugo,

> You can find from http://www.emn.fr/z-info/atlanmod/index.php/New_Results a
> Ganymede bundle including ATL (v2.0) + the KM3/AM3/TCS plug-ins (at
> the bottom of the page).

Thanks for the pointer. Unfortunately, it's a windows-only binary just
like the MODUS workbench.

But since the KM3 support is the only missing piece of the Eclipse
Modeling Framework Galileo bundle, I think I can live with it. I only
have to figure out how to create instances of the metamodels I created
using the Ecore Diagram Editor... (Pointers welcome!)

Bye,
Tassilo
Re: [ATL] Toolset for getting started with ATL not available [message #491268 is a reply to message #489746] Tue, 13 October 2009 21:21 Go to previous messageGo to next message
RJ is currently offline RJFriend
Messages: 19
Registered: October 2009
Location: Eindhoven, The Netherland...
Junior Member
Hi Tassilo,

when you have created your meta-model, you need to create a genmodel, which allows the creation of an editor, which in turn allows you to create models based on your meta-model.

It is all explained in this link http://www.eclipse.org/articles/Article-Using%20EMF/using-emf.html, from Step 3 on.

Good luck with it.
- RJ
Re: [ATL] Toolset for getting started with ATL not available [message #491314 is a reply to message #491268] Wed, 14 October 2009 06:44 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
<r.j.bijl@gmail.com> writes:

Hi!

> when you have created your meta-model, you need to create a genmodel,
> which allows the creation of an editor, which in turn allows you to
> create models based on your meta-model.

I did all of this. So now I have a Families.ecore with a genmodel, and
used the generated editor to create an example model example.families.
This should be the source model of my QVTO transformation.

The target metamodel is also there as Persons.ecore including genmodel
and the generated code.

I already used those metamodels and the example.families model in an ATL
transformation, which worked pretty well. Now, I want to do the same
transformation with QVTO, but there I seem to be missing something in my
setup...

It seems that the QVTO interpreter thinks that my example.families is
empty (which it isn't), at least the line

log("FamilyTree", src.objectsOfType(FamilyTree));

in main() says "data: []", but there's one FamilyTree root element in
that model. Because of that, none of my mappings are executed...

Bye,
Tassilo
Re: [ATL] Toolset for getting started with ATL not available [message #491355 is a reply to message #491314] Wed, 14 October 2009 09:21 Go to previous message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Tassilo Horn <thorn@fastmail.fm> writes:

Hi!

>> when you have created your meta-model, you need to create a genmodel,
>> which allows the creation of an editor, which in turn allows you to
>> create models based on your meta-model.
>
> I did all of this. [...]

Ups, sorry for this irrelevant posting. I missed that your reply was to
an ATL question that I already solved the way you mentioned. :-)

The QVTO stuff is another building site.

Bye,
Tassilo
Previous Topic:[ATL]Anybody knows how to make comments for a section?
Next Topic:[ATL] Why is the containment hierarchy of a target ecore model ignored?
Goto Forum:
  


Current Time: Fri Apr 26 08:11:01 GMT 2024

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

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

Back to the top