Home » Modeling » Epsilon » model transformation with ETL
model transformation with ETL [message #1072218] |
Mon, 22 July 2013 10:24 |
|
Hello All,
I am working on Model-Based Test generation from UML StateChart. I need to transform my statechart model into another statechart model. I decided to use ETL for this M2M transformation. I am beginner in Epsilon. I tried to use ETL and doing my transformation, but apparently this tool (ETL) does not support my UML diagram files format (.uml files). Is it true?
I want to know whether I can transform my .uml file to another one that supported by ETL (like ecore model) and do my transformation and after that transform output file to .uml file, or not? How? Do you have any solution?
Best Regards,
Amin
|
|
| | | | | |
Re: model transformation with ETL [message #1075522 is a reply to message #1075487] |
Mon, 29 July 2013 15:17 |
|
Hi Amin,
Not yet I'm afraid. Topcased doesn't provide a distribution for Mac OS X and it can't be installed on the Kepler or Juno SR2 modelling distributions as the UML versions of the latter are newer than what Topcased requires (!!!). As such, to test I'll have to download an older version of Juno (or even Indigo) and try to setup Topcased on it - which may take a while.
Cheers,
Dimitris
[Updated on: Mon, 29 July 2013 15:21] Report message to a moderator
|
|
|
Re: model transformation with ETL [message #1075567 is a reply to message #1075522] |
Mon, 29 July 2013 16:42 |
|
Dear Dimitris Kolovos,
It is true, and you need Eclipse ganymede.
I have one other question, too. How we use models which are produced by papyrus in ETL model transformation? How we can use uml meta model for transformation?
Thanks
|
|
|
Re: model transformation with ETL [message #1075610 is a reply to message #1075567] |
Mon, 29 July 2013 18:36 |
|
Hi Amin,
In Papyrus, each model is split across 3 files (.di/.notation/.uml). To use a Papyrus model in an ETL program you need to add a "UML Model" to your launch configuration and point it towards the .uml part.
Cheers,
Dimitris
|
|
|
Re: model transformation with ETL [message #1077503 is a reply to message #1075610] |
Thu, 01 August 2013 20:23 |
|
Dear Dimitris,
Thank you for your reply.
I have one question about ETL:
Is it true that in source model if we have some elements that we do not have any rule and transformation for this, we must write some rule to copy theme in target model?
If yes, it is means that if we have one model that we want to transform only one special element of this, we need to write some others rule to copy another element from source model in target model??!!
Thanks
[Updated on: Thu, 01 August 2013 20:25] Report message to a moderator
|
|
| |
Re: model transformation with ETL [message #1077991 is a reply to message #1077855] |
Fri, 02 August 2013 11:53 |
|
Dear Dimitris,
Thanks, a lot. Yes, it is true that my transformation is between 2 models conforming to the same metamodel and involves a lot of copying.
Some of my friends suggest Epsilon wizard language (EWL), now I want to know what is the difference between EWL and Folk? You suggest me to use Folk?
Thanks,
Amin Rezaee
|
|
|
Re: model transformation with ETL [message #1077997 is a reply to message #1077991] |
Fri, 02 August 2013 12:02 |
|
Hi Amin,
Briefly, EWL targets interactive in-place model transformation while Flock is better suited for mapping transformations between models that conform to the same or different versions of the same metamodel. Flock sounds like a good match but I'd suggest having a look at the respective chapters of the Epsilon book [1] to see which one fits your case better.
Cheers,
Dimitris
[1] http://eclipse.org/epsilon/doc/book/
|
|
| |
Re: model transformation with ETL [message #1079339 is a reply to message #1078000] |
Sun, 04 August 2013 12:12 |
|
Dear Dimitris,
I studied EWl and Flock. I think that I can use both of them, but it seems that EWL is more fit with my work.
Now, I need to traverse model element in UML State machine and find one special type of element that have some properties and update this element and transitions of it. I want to know that I need what kind of project? I must use plugin project (I must integrate my ewl model transformation with my java project that contains of some other plugins)?
Also, I have another problem with my EWL module: In my module, I can not see UML metamodel structure (see model element like states, transitions, guard of transitions,... and I can not manipulate them...). DO I need to import some library? Where I can find these library? Do I need add some plugins in my plugin project dependency? What plugins?
Note: I use Eclipse Kepler
Best Regards,
Amin
|
|
| | | |
Goto Forum:
Current Time: Thu Sep 26 21:06:26 GMT 2024
Powered by FUDForum. Page generated in 0.05996 seconds
|