Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Capability Question([Acceleo] Capability Question)
[Acceleo] Capability Question [message #905149] Wed, 29 August 2012 19:55 Go to next message
PD Counts is currently offline PD CountsFriend
Messages: 7
Registered: August 2012
Junior Member
Hi,

Is Acceleo capable of accessing models stored using CDO.
If so, do we have to do anything special?

TIA,
PD
Re: [Acceleo] Capability Question [message #905330 is a reply to message #905149] Thu, 30 August 2012 07:24 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1639
Registered: July 2009
Senior Member
Hi,

Acceleo can use any EMF model : Acceleo itself does nothing to load or access the models, that is the client's responsibility. If you can load the model, you can use it with Acceleo.

Acceleo generates a Java launcher beside your "main" template. What you will need to do is tell this generator how to load the model (see the methods "registerPackage" and "registerResourceFactories"). Then you use it as you would with any other model from the templates themselves.

Laurent Goubet
Obeo
Re: [Acceleo] Capability Question [message #907173 is a reply to message #905149] Mon, 03 September 2012 12:58 Go to previous message
PD Counts is currently offline PD CountsFriend
Messages: 7
Registered: August 2012
Junior Member

Laurent,

Thanks for the guidance.
Will give it a try.

Regards,
PD
Previous Topic:[Acceleo] Iterate through associated classes
Next Topic:migrating from acceleo2 to acceleo 3
Goto Forum:
  


Current Time: Sat Dec 20 03:53:24 GMT 2014

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

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