Book a Demo

Author Topic: How to Save Code Generation Templates  (Read 3088 times)

mbaffa

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
How to Save Code Generation Templates
« on: November 28, 2008, 10:12:22 pm »
I have changed some Code Generation Templates and I would like to save them to use if I have to reinstall EA.

Will it be saved in my EA project or I will to save it in another file ????

Thanks in advance

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to Save Code Generation Templates
« Reply #1 on: November 28, 2008, 11:56:18 pm »
They can be transferred as Reference Data. In the EA help, look up Export | Code Templates. This topic will explain the naming convention for the templates.

Sparx recently updated the EA help for Reference Data, but omitted code tables from the list of categories. I've filed a bug report to this effect.

HTH, David
No, you can't have it!

mbaffa

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: How to Save Code Generation Templates
« Reply #2 on: November 29, 2008, 12:10:08 am »
I will check it out

Thank you very much

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to Save Code Generation Templates
« Reply #3 on: December 01, 2008, 10:37:23 am »
I have update the Help, and it should get into the build 834 release.

Code templates are represented on the Export Reference Data dialog by lanuage-specific entries such as Java_Code_Templates. These entries do not appear in the list of items to be exported unless there are code templates for the language in the model. This little nugget of information is now in both the EA User Guide Code Template Editor topic and the Export Reference Data topic.

Best Regards, Roy