Author Topic: Code Templates not updated using MDG tech  (Read 3085 times)

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Code Templates not updated using MDG tech
« on: April 02, 2012, 12:03:34 am »
Hi,

I have a number of code templates for a new language stored in a profile project. When I export my (main) profile the checkbox 'Export Code Templates' is checked, afterwards I bundle everything using the 'Generate MDG Technology' wizard. The 'Code Templates' option is checked in the 'Code Modules' wizard page as well.
In newly created projects using this MDG technology, the Code Templates aren't changed though. We always need to import these as separate reference data. I guess this is a bug, or I completely misunderstood s.th. about that 'Export Code Templates' checkbox.
To be honest, I doubt what should relate a profile to the code template reference data anyway  :-?. Shouldn't this be just the option in the 'Generate MDG Technology - Code Modules' wizard page (I'll give that another try also)?

Günther

« Last Edit: April 02, 2012, 12:05:01 am by g.makulik »
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Code Templates not updated using MDG tech
« Reply #1 on: April 02, 2012, 12:32:26 am »
OK, that last possibility mentioned did it. I DON'T check the 'Export Code Templates' option when exporting the profile, but check the 'Code Template' option in the 'Generate MDG Technology - Code Modules' wizard page. Could be that the described behavior is a bug with a pre 9.3 version of EA though (we noticed that at work, and I checked it at home where I have the latest version).
Would be nice though to have an explanation from a Sparx member what exactly the 'Export Code Templates' option for exported profiles does. Does it refer to templates affecting the streotypes in the profile only??

Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/