Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: g.makulik on April 02, 2012, 12:03:34 am

Title: Code Templates not updated using MDG tech
Post by: g.makulik 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

Title: Re: Code Templates not updated using MDG tech
Post by: g.makulik 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