Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Acceleo meta-model as namespace
Acceleo meta-model as namespace [message #902040] Wed, 15 August 2012 15:29 Go to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have an Acceleo transformations applied to a model which depends on two meta-models. These two meta-models have some elements with the same name (i.e. the root element is in both called Model). I therefore need to express a namespace for both (i.e. M1:Model vs. M2:Model) is there any way to do that in Acceleo?

Follow me on Twitter @andreasindico

Re: Acceleo meta-model as namespace [message #902125 is a reply to message #902040] Thu, 16 August 2012 05:12 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4098
Registered: July 2009
Senior Member
HI

Have you tried "M1::Model" and "M2::Model" ?

Regards

Ed Willink

On 15/08/2012 16:29, Andrea Sindico wrote:
> I have an Acceleo transformations applied to a model which depends on
> two meta-models. These two meta-models have some elements with the
> same name (i.e. the root element is in both called Model). I therefore
> need to express a namespace for both (i.e. M1:Model vs. M2:Model) is
> there any way to do that in Acceleo?
Previous Topic:[Acceleo] Boolean operators in version 3.2
Next Topic:Meshing ACCELEO and Xtext
Goto Forum:
  


Current Time: Sat Oct 25 23:41:46 GMT 2014

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

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