Book a Demo

Author Topic: Simplify the MDG update  (Read 4656 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1404
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Simplify the MDG update
« on: December 08, 2015, 12:35:26 am »
Hi,

I'm looking for a way to simplify things when you work on an MDG. Everytime you change one or several profile s(UML, toolbox, diagram) you have to save each modified package as UML profile, run the Generate MDG, and import it.
I know you can skip the MDG import by restarting EA having set the folder in the MDG Technologies Advanced options.

To achieve this, I'd like to start with a script but the following items don't seem to be available from the API:
- Package > Advanced > Save Package as UML Profile
- Tools > Generate MDG Technology File

Is there any "hidden/undocumented" method that let me automate this?

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Simplify the MDG update
« Reply #1 on: December 08, 2015, 12:53:32 am »
Bad luck. To my knowledge there is no automation to do that. I have been looking for that too.

The only thing I did was replacing the MDG generation with a script. This way I was able to look into the single XMLs to check whether they contain what they pretend to be. Actually it's just putting multiple XMLs in a single container.

q.
« Last Edit: December 08, 2015, 12:55:11 am by qwerty »