Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] problem with Families2Persons example
[ATL] problem with Families2Persons example [message #523780] Mon, 29 March 2010 09:57 Go to next message
MaximeLecourt  is currently offline MaximeLecourt Friend
Messages: 108
Registered: February 2010
Location: France
Senior Member
Hi,

I'm just beginning with ATL, so I thought I'd start with the Families2Persons example.
http://wiki.eclipse.org/ATL/Tutorials_-_Create_a_simple_ATL_ transformation

I followed the tutorial, and when I try to run the project, nothing happens.

In the Console I get
No Resource found, unable to extract to platform:/resource/Families2Persons/sample-Persons.xmi


PS : I registered the meta-models from the ecore files.

Maxime


One day I shall master M2T, but that day has yet to come...
Re: [ATL] problem with Families2Persons example [message #523808 is a reply to message #523780] Mon, 29 March 2010 08:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thierry.fortin.obeo.fr

Hello Maxime,

There was a problem with the ATL simple transformation tutorial. The
metamodels were not correct. The code of the two ecore files
(Families.ecore and Persons.ecore) has been reviewed on the wiki.

Please use the new files and try launching your transformation again.


Thierry


Le 29/03/2010 11:57, Maxime Lecourt a écrit :
> Hi,
>
> I'm just beginning with ATL, so I thought I'd start with the
> Families2Persons example.
> http://wiki.eclipse.org/ATL/Tutorials_-_Create_a_simple_ATL_ transformation
>
> I followed the tutorial, and when I try to run the project, nothing
> happens.
>
> In the Console I get No Resource found, unable to extract to
> platform:/resource/Families2Persons/sample-Persons.xmi
>
> PS : I registered the meta-models from the ecore files.
>
> Maxime
Re: [ATL] problem with Families2Persons example [message #523823 is a reply to message #523780] Mon, 29 March 2010 14:02 Go to previous messageGo to next message
MaximeLecourt  is currently offline MaximeLecourt Friend
Messages: 108
Registered: February 2010
Location: France
Senior Member
Works perfectly now.

Thanks.


One day I shall master M2T, but that day has yet to come...
Re: [ATL] problem with Families2Persons example [message #524878 is a reply to message #523823] Sat, 03 April 2010 12:13 Go to previous messageGo to next message
liliana is currently offline lilianaFriend
Messages: 1
Registered: July 2009
Junior Member
Dear all,
I am getting the same problem of Maxime,
and despite I adopted the updated ecore model for Persons and Families
I was not able to solve it.

When I run Families2Persons.launch, I get the following message on the console:

No Resource found, unable to extract to platform:/resource/Families2Persons/sample-Persons.xmi


BTW My operative system is Snow leopard.

Any help is appreciated.

Thank you in advance.

Liliana
Re: [ATL] problem with Families2Persons example [message #528800 is a reply to message #524878] Wed, 21 April 2010 19:42 Go to previous messageGo to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
liliana wrote on Sat, 03 April 2010 08:13
Dear all,
I am getting the same problem of Maxime,
and despite I adopted the updated ecore model for Persons and Families
I was not able to solve it.

When I run Families2Persons.launch, I get the following message on the console:

No Resource found, unable to extract to platform:/resource/Families2Persons/sample-Persons.xmi


BTW My operative system is Snow leopard.

Any help is appreciated.

Thank you in advance.

Liliana


Hi all I have problem too, saying that "An internal error occurred during: "Launching families2PersonsConfigurationFile".
java.lang.NullPointerException

"

and the tutorial I used was this below
http://wiki.eclipse.org/ATL/Tutorials_-_Create_a_simple_ATL_ transformation

can any one tells if I am I using the reviewed one or not, Smile

Thanks in advanced
Please any one could help or direct, would be thankful Very Happy

Re: [ATL] problem with Families2Persons example [message #528818 is a reply to message #523780] Wed, 21 April 2010 21:34 Go to previous messageGo to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
Hello all
I changed the eclipse version and they all worked well
I guess I had a missing plugin

lets meet in next thread with new Question Rolling Eyes

Yes , I have my examples from the ZOO Smile

[Updated on: Wed, 21 April 2010 21:35]

Report message to a moderator

Re: [ATL] problem with Families2Persons example [message #528855 is a reply to message #523780] Thu, 22 April 2010 07:47 Go to previous messageGo to next message
zoro  is currently offline zoro Friend
Messages: 26
Registered: April 2010
Junior Member
@wafaa: What Eclipse version did you download ?
Can you give me a link to it?
Re: [ATL] problem with Families2Persons example [message #528987 is a reply to message #523780] Thu, 22 April 2010 14:39 Go to previous messageGo to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
http://www.eclipse.org/downloads/download.php?file=/technolo gy/epp/downloads/release/galileo/SR2/eclipse-modeling-galile o-SR2-incubation-win32.zip


it is that one galileo special for modeling aspecs
Re: [ATL] problem with Families2Persons example [message #529055 is a reply to message #523780] Thu, 22 April 2010 18:30 Go to previous messageGo to next message
zoro  is currently offline zoro Friend
Messages: 26
Registered: April 2010
Junior Member
Well, I downloaded it and I still get the same problem Sad

Can you send me your project to test it?

[Updated on: Thu, 22 April 2010 18:57]

Report message to a moderator

Re: [ATL] problem with Families2Persons example [message #529205 is a reply to message #529055] Fri, 23 April 2010 12:53 Go to previous messageGo to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
http://www.2shared.com/file/12766623/1253468c/Families2Perso n.html

but when running
create new project then copy the related files, run the configuration as mentioned in the tutorial

any question let me know

wafaa
Re: [ATL] problem with Families2Persons example [message #529369 is a reply to message #523780] Sat, 24 April 2010 08:27 Go to previous messageGo to next message
zoro  is currently offline zoro Friend
Messages: 26
Registered: April 2010
Junior Member
Wow it works, thank you su much wafaa,

But where is the .ecorediag in your project ? don't you use the graphical design interface to make your meta models ?

And how did you manage to create this:
http://i39.tinypic.com/35c4vgz.jpg

Because when I create my meta model from the design interface (ecorediag), it generates only the first part ... I wonder if this the source of my problem ...

Thank you so much Smile
Re: [ATL] problem with Families2Persons example [message #529386 is a reply to message #523780] Sat, 24 April 2010 12:19 Go to previous messageGo to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
I followed he tutorial and it uses the ecore not graphical GMF but actually it generates the prevoius problem, that make me use the examples existing in the use case and zoo.


can u tell me which tuorial u use to create models via ecoreDiag, i tried it once long time ago but not now:D

u have good question, because missing datatypes lead to errors

I am avaliabe for more discussion, because also i am beginner to ATL
Re: [ATL] problem with Families2Persons example [message #529388 is a reply to message #523780] Sat, 24 April 2010 12:51 Go to previous message
zoro  is currently offline zoro Friend
Messages: 26
Registered: April 2010
Junior Member
Yes its very strange how it works with the Ecore Model Editor (like in the tutorial), and it doesn't with Graphical Ecore Diagram ...I hope someone can answer this ...

I learned the basis of Graphical Ecore from some video flashes (*.swf) tutorials, If you want I'll send'em to you !
Previous Topic:[ATL] ATL for Ecore or for KM3 files?
Next Topic:Should I be familiar with OCL to be able to learn ATL
Goto Forum:
  


Current Time: Fri Mar 29 15:59:10 GMT 2024

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

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

Back to the top