Book a Demo

Author Topic: Tool to export only selected scripts  (Read 3926 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Tool to export only selected scripts
« on: September 08, 2019, 05:57:52 pm »
When developing scripts for clients I often find myself exporting all scripts of my model to a refdata file, and then manually copy pasting parts of the xml file in order to get a refdata file with only the selected scripts.

Not really difficult, but a rather error prone process. Often I forget to include a script group, or one of the included scripts. The result is of-course that the scripts don't work when imported into the production model of the client.

After many years of thinking "I really should write something to automate this" I finally came round to actually write it.

The tool is called EARefdataSplitter and can be downloaded from github:
https://github.com/GeertBellekens/EARefDataSplitter

Extra bonus is that it also parses the !INC statements and shows the included scripts in the tree as well.

Enjoy!

Geert