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 15:55 Go to next message
PD Counts is currently offline PD Counts
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 03:24 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1609
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 08:58 Go to previous message
PD Counts is currently offline PD Counts
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 Apr 19 15:55:29 EDT 2014

Powered by FUDForum. Page generated in 0.30748 seconds