Book a Demo

Author Topic: Model reference data - version control possible ?  (Read 3554 times)

pocketom

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Model reference data - version control possible ?
« on: June 14, 2010, 08:57:18 pm »
The titel says it all, I'm looking for a possiblity to put the model reference data also under version control. Is this possible (my focus is on code generation makros and intermediary scrips, both is true code for me). How can I achieve this?

beginner

  • Guest
Re: Model reference data - version control possibl
« Reply #1 on: June 14, 2010, 11:36:36 pm »
You have to do that manually. I have a script to export these things for our ClearCase snapshots.

b.

pocketom

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Model reference data - version control possibl
« Reply #2 on: June 21, 2010, 07:53:48 pm »
Ok, can u send me the skript? I don't know how to do it manually (excpet copy-pasting every(!) tempate by hand into text files)

Would it work to create an own project just to create and maintain  code generation/model transformation makros? I could than add the whole project to version control, but where do I find my reference data then, in which XML file is it?

THX

beginner

  • Guest
Re: Model reference data - version control possibl
« Reply #3 on: June 22, 2010, 01:47:56 am »
It wouldn't help you much as it's written in Perl and you'd need the Perl bindings for EA (which you probably don't have). Currently I just need to save the glossary. This is accomplished by a Repository->SQLQeuery ("SELECT * FROM t_glossary") and saving the results to a file. There might be an API function, but I haven't found it.

b.

P.S. There's a Tools/Export Reference Data in case you haven't found that (as it seems to me)
« Last Edit: June 22, 2010, 01:49:11 am by beginner »