Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] problem when input and output models share a metamodel
[ATL] problem when input and output models share a metamodel [message #101076] Thu, 05 March 2009 08:56 Go to next message
Eclipse UserFriend
I'm running a transformation with three input models and two
output models. One of the input models shares a metamodel
with one of the output models. In this case, the target elements
for the output model are created in the input model! Has
anyone else experienced anything this and have a solution?

Andy.

--
-- ------------------------------------------------------------ -------------
Dr Andy Carpenter
School of Computer Science,
University of Manchester, Manchester M13 9PL, UK
Email: Andy.Carpenter@manchester.ac.uk
Tel: +44 161 275 6168
Fax: +44 161 275 6280
Re: [ATL] problem when input and output models share a metamodel [message #101172 is a reply to message #101076] Fri, 06 March 2009 05:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
The closest thing to this I can think of is where you refer to what will
be created in the target from the source using resolveTemp. See
http://wiki.eclipse.org/ATL/User_Guide#The_ATL_Module_data_t ype Anything
requiring the target to be using in the source might require you to chain
a few transformations together using the ANT tasks.
Cheers,
Ronan
Re: [ATL] problem when input and output models share a metamodel [message #101215 is a reply to message #101172] Fri, 06 March 2009 07:45 Go to previous messageGo to next message
Eclipse UserFriend
Ronan,

Thanks for your response. In my case, I wanted the target
elements created in the target model; they were incorrectly
created in the source model.

Andy.

"Ronan " <rbarrett@computing.dcu.ie> wrote in message
news:2cb8301c643947e39cea05d4255f4a95$1@www.eclipse.org...
> Hi,
> The closest thing to this I can think of is where you refer to what will
> be created in the target from the source using resolveTemp. See
> http://wiki.eclipse.org/ATL/User_Guide#The_ATL_Module_data_t ype Anything
> requiring the target to be using in the source might require you to chain
> a few transformations together using the ANT tasks.
> Cheers,
> Ronan
>
Re: [ATL] problem when input and output models share a metamodel [message #101228 is a reply to message #101215] Fri, 06 March 2009 08:38 Go to previous message
Eclipse UserFriend
Hmm have you tried using resolveTemp with some helpers? I think i'd need
more details about the specific problem to provide any more help.
Cheers,
Ronan
Previous Topic:[ATL] New ATL3.0 ant taks issue
Next Topic:[ATL] Property type/association values lost during transformation
Goto Forum:
  


Current Time: Sat Jul 19 13:26:45 EDT 2025

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

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

Back to the top