Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » UML Profiles and ATL - couple of questions
UML Profiles and ATL - couple of questions [message #14254] Thu, 01 February 2007 14:39 Go to next message
Eclipse UserFriend
Originally posted by: jeroen.benckhuijsen.atosorigin.com

Hi,

I've been looking at ATL for usage of UML Model-to-Model transformations.
I've seen the FAQ on the usage of UML stereotypes and various posts on
this subject in this newsgroup. However, I've still got some questions:

1. UML Profiles do seem to work in the source model, not in the target
model. I can imagine two scenarios: copying stereotypes from source to
model and applying new stereotypes for newly applied profiles in the
target model (which are not present in the source model). Are both
scenario's not working (I'm wondering, is there even a difference between
the two...)

2. The FAQ and newsposts talk about a update which is needed to the UML
driver. I presume the org.eclipse.uml UML implementation is meant in this
case, not any part of ATL itself?

3. Presuming (2) is correct, will this change also be made to the 1.x
version of the UML implementation (UML 2.0 metamodel) or just to the 2.x
version (UML 2.1 metamodel) implementation.

4. Is any (more specific) timeframe know for when these changes will be
applied?

5. Are there any known workarounds or best-practices for this issue (e.g.
if I'm generating entities in my target model I could apply the <<Entity>>
stereotype to all classes in the package "foo.bar.entities".

Thank you for your time.

Jeroen
Re: UML Profiles and ATL - couple of questions [message #15425 is a reply to message #14254] Tue, 06 February 2007 13:34 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 147
Registered: July 2009
Senior Member
Jeroen Benckhuijsen schreef:
> Hi,
>
> I've been looking at ATL for usage of UML Model-to-Model
> transformations. I've seen the FAQ on the usage of UML stereotypes and
> various posts on this subject in this newsgroup. However, I've still got
> some questions:
>
> 1. UML Profiles do seem to work in the source model, not in the target
> model. I can imagine two scenarios: copying stereotypes from source to
> model and applying new stereotypes for newly applied profiles in the
> target model (which are not present in the source model). Are both
> scenario's not working (I'm wondering, is there even a difference
> between the two...)

These scenarios do work, but may require some bugfixes that are still
pending in the bugzilla (bugs.eclipse.org). I will hopefully soon be
able to fix this situation, since the bugfixes have been in testing
phase for quite a while now.

>
> 2. The FAQ and newsposts talk about a update which is needed to the UML
> driver. I presume the org.eclipse.uml UML implementation is meant in
> this case, not any part of ATL itself?

If I understand correctly, this UML2 driver refers to a part of ATL and
goes in the same category as the EMF and MDR driver (even though UML2 is
not a model repository itself). I don't know of such a UML driver being
public already.

>
> 3. Presuming (2) is correct, will this change also be made to the 1.x
> version of the UML implementation (UML 2.0 metamodel) or just to the 2.x
> version (UML 2.1 metamodel) implementation.

I don't know what the UML2 driver will be like. There are some patches
to the EMF driver, such that I could work with UML2 v2.0 stereotypes.
Most of these patches have been integrated in ATL CVS, but some are not
yet (fully) integrated. To use my local ATL version, use the following
update site:
http://ssel.vub.ac.be/tools/atl/update/

The example UML2 model transformations I use are explained here:
http://ssel.vub.ac.be/ssel/research:mdd:casestudies

>
> 4. Is any (more specific) timeframe know for when these changes will be
> applied?

Most difficult question ;-). ATL is in the process of migrating to the
new Eclipse Modeling CVS repository, so it may well take a while...

>
> 5. Are there any known workarounds or best-practices for this issue
> (e.g. if I'm generating entities in my target model I could apply the
> <<Entity>> stereotype to all classes in the package "foo.bar.entities".
>

See my local solution on:
http://ssel.vub.ac.be/ssel/research:mdd:casestudies

> Thank you for your time.
>
> Jeroen
>

You're welcome,
Dennis
Re: UML Profiles and ATL - couple of questions [message #15555 is a reply to message #15425] Wed, 07 February 2007 08:41 Go to previous message
Eclipse UserFriend
Originally posted by: jean-pierre.bourey.ec-lille.fr

Hi Dennis,

I have just updated my configuration from your update site, and the problem
I mentionned on this forum in my post ("Re: Problems with applying
Stereotypes to UML2 elements" on january 26th), is now solved and my
transformation works well.

So, only one word: THANKS!

best regards
jean-pierre


"Dennis Wagelaar" <dennis.wagelaar@vub.ac.be> a
Previous Topic:ANTLR class not found in the ATL plugin
Next Topic:[Announce] EclipseCon 2007 Registration
Goto Forum:
  


Current Time: Sat Apr 27 00:10:45 GMT 2024

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

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

Back to the top