Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] In-place transformation/refine/copy whole model?
[ATL] In-place transformation/refine/copy whole model? [message #53724] Fri, 20 July 2007 05:51 Go to next message
Leila Naslavsky is currently offline Leila NaslavskyFriend
Messages: 13
Registered: July 2009
Junior Member
Hi All,
I need to create a transformation that repeats (copies) modelA, with some
exceptions to few elements.
Preferably, I'd like it to be an in-place transformation.
Is that possible with ATL? How?

Thanks in Advance,

- Leila
Re: [ATL] In-place transformation/refine/copy whole model? [message #53808 is a reply to message #53724] Fri, 20 July 2007 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Leila a écrit :
> Hi All,

Hi Leila,

> I need to create a transformation that repeats (copies) modelA, with
> some exceptions to few elements.
> Preferably, I'd like it to be an in-place transformation.
> Is that possible with ATL? How?

In ATL 2004 (i.e. the previous major version of ATL), there is a
"refining" mode which allows defining refinement transformations by only
specifying rules concerning the elements to modify. See the appropriate
section 3.1.2.2 in the user manual:
http://www.eclipse.org/m2m/atl/doc/ATL_User_Manual%5Bv0.7%5D .pdf

I think this is what you want to do.

However, ATL 2006 (i.e. the current version of ATL) does not yet support
this "refining" mode. So you will have to precise in your transformation
that you want to use the ATL 2004 compiler (see
http://wiki.eclipse.org/ATL_2006).

> Thanks in Advance,
> - Leila
>

Best regards,

Hugo

--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Re: [ATL] In-place transformation/refine/copy whole model? [message #54112 is a reply to message #53808] Fri, 20 July 2007 17:10 Go to previous messageGo to next message
Leila Naslavsky is currently offline Leila NaslavskyFriend
Messages: 13
Registered: July 2009
Junior Member
Hi Hugo,
Thanks for the quick response. Is there a particular ATL/Eclipse versions
I should be using to be able to change the compilers?
I'm trying to put that comment : -- @atlcompiler atl2004 and still get
error : 'unexpected token : refines'.
I could try to use an older version, but which one u suggest? :)


Thanks again,

- Leila
Re: [ATL] In-place transformation/refine/copy whole model? [message #54244 is a reply to message #54112] Mon, 23 July 2007 07:46 Go to previous message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------020101080904080409040003
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

The correct word for the refining mode is "refining" and not "refines"
(documentation bug that will be soon corrected)

Quentin GLINEUR

Leila a
Previous Topic:[ATL] problem with UML2 metamodel
Next Topic:[M2M - QVT] Where is the Borland Initial Code contribution
Goto Forum:
  


Current Time: Thu Dec 26 12:53:35 GMT 2024

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

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

Back to the top