Book a Demo

Author Topic: MDG generation automation  (Read 13599 times)

Adam@Schneider

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
MDG generation automation
« on: November 19, 2014, 02:49:10 pm »
Generating an MDG is quite tedious (especially if you have a lot of toolbox profiles), the current process is:

1..10 Right click on each UML profile, diagram, and toolbox package (I have 10 or more of these), then export the UML profile
11. Launch the MDG generation, select the MTS file
12. Click through and review, change options
13. Click generate and get your MDG file

I have a suggestion that would make things easier.

- Store the MTS options in the model somehow, similar to the document generation specification
- Associate packages with the MDG rather than UML profile exports
- Generating the MDG would encapsulate the profile export to a temp location for each referenced package
- When generating the MDG from the specification, it would save any changes to the spec, as per the MTS behaviour

This would make MDG generation simple:
1. click to launch the wizard
2. review/update the options as per the existing MTS procedure
3. Click go and all the exporting and joining together would happen, giving you an MDG at the end.

Failing this, possibly:
- Use the File attribute on the UML profile packages to populate the UML profile export filename
- Add a function to the project object to export a UML profile (something like the XMI export/import functions)
- Add a function to the automation interface to autogenerate an MDG using an MTS file.
The whole process could be tied together with a script.

In addition to this, all paths should use the local paths variables (including the MTS file), so external icons, UML profile output, MDG output are all relocatable.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG generation automation
« Reply #1 on: November 19, 2014, 09:38:36 pm »
I asked for similar things years ago. Nothing has changed.

q.

R Glenn Walker

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • Be the change you envision in others.
    • View Profile
    • Glenn the dotConsultant
Re: MDG generation automation
« Reply #2 on: March 17, 2016, 06:35:23 am »
Has this ever been addressed? I am finding same issue. Easy to write a script, but need a way to call the function that assembles the profile. It would make updating / maintaining MDG's much easier.
Glenn Walker
Enterprise / Solution Architect

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG generation automation
« Reply #3 on: March 17, 2016, 07:51:30 am »
Most likely this would by a USP. But I gave up trying to understand Sparx' marketing policy. To answer your question: AFAIK the same procedure as every year.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG generation automation
« Reply #4 on: March 18, 2016, 10:42:27 am »
+1

Geert

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: MDG generation automation
« Reply #5 on: March 18, 2016, 02:29:42 pm »
+4 (just thought I'd try)
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG generation automation
« Reply #6 on: March 18, 2016, 03:29:02 pm »

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: MDG generation automation
« Reply #7 on: March 18, 2016, 06:46:07 pm »
+1
Best regards,

Peter Heintz

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: MDG generation automation
« Reply #8 on: March 25, 2016, 06:59:32 pm »
I've been dabbling with an Add-In to do this, but as noted above the API functions aren't there so it gets a bit hacky. Nothing I'd care to release with my name on it.

+ a couple.

/Uffe
My theories are always correct, just apply them to the right reality.