Book a Demo

Author Topic: Image Library & Version Control?  (Read 4302 times)

pmason

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Image Library & Version Control?
« on: February 23, 2012, 01:42:14 am »
Is there a way to automatically include images you have added to the image library to be put into version control when you check models in?

Assuming the worst case is exporting the image library into the XML format and then manually adding it is an option but would like it to know that an image is used in a diagram and it should be included.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Image Library & Version Control?
« Reply #1 on: February 23, 2012, 04:12:04 am »
Same goes for reference data. We had discussions about that but no improvement from Sparx side.

q.

pmason

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Image Library & Version Control?
« Reply #2 on: February 23, 2012, 06:52:28 am »
Yes I came to that same problem of all the other reference data, document templates, etc..
So sounds like no soluiton right now.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Image Library & Version Control?
« Reply #3 on: February 23, 2012, 07:08:11 am »
Unfortunately, yes. Maybe you can also submit a feature request in order to put more weight in it.

q.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Image Library & Version Control?
« Reply #4 on: February 25, 2012, 12:36:30 am »
Until (or if) Sparx sorts this issue (which is a real pain I think), a solution may involve writing a plug-in that would provide following commands to the user:
- synchronise the reference data with SVN (or any other VC)
- commit the reference data file on SVN (or any other VC)
- choose to sync everytime the project is opened (unless

When you start a project, running a sync will :
- run an svn update on the XMI reference data file holding everything (templates, images...)
- import this reference data file in the current EAP file

When commiting, the plug in will export the reference data from the eap to the XMI and commit this new file on SVN

what do you think?
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: Image Library & Version Control?
« Reply #5 on: February 25, 2012, 02:31:55 am »
More or less I did something along this line. Maybe Geert will take care and extend his Navigator?

q.