Book a Demo

Author Topic: Code Generation Templates  (Read 2913 times)

danman

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Code Generation Templates
« on: November 21, 2003, 10:41:09 am »
Where are the code generation templates stored? I looked in the registry and could not find anything that seemed like code templates.

Thanks,

Dan...

jkorman

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Code Generation Templates
« Reply #1 on: November 24, 2003, 08:13:27 pm »
Well it took a little looking around....

The code template defaults appear to be "stored" in TemplateResources.dll which
would imply the the "default storage" is the Sparx source code!

If you make changes, they show up in the t_template table of your model...
  But you should probably use

       Tools -> Export Reference Data

Only changes that were made using the template editor seem to show up in the table.
Hope this helps

Jim

danman

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Code Generation Templates
« Reply #2 on: November 24, 2003, 10:42:00 pm »
Thanks Jim,

Just minutes before I read your response I just happened upon the Tools | Export Reference Data menu item.

This is exactly what I needed. Thanks a lot!!

Dan...