Book a Demo

Author Topic: Why does adding packages to version take so long?  (Read 4484 times)

EdK

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Why does adding packages to version take so long?
« on: March 06, 2013, 09:40:49 am »
When I add a package to (subversion) version control it takes a very long time for the action to complete.

Based on the progress window that is displayed by EA, when I add a package to version control, it seems to get stuck on the part where it is "versioning file"

FWIW, when I do a regular XMI export it takes less than a second to complete.

I am using a plain svnserver.exe server configuration.

Any ideas?

R/S
Ed K

EA Version 10.0.1006
subversion version 1.7.8
R/S Ed K
(EA Ultimate Edition Version 12.1.1228)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Why does adding packages to version take so lo
« Reply #1 on: March 06, 2013, 07:59:45 pm »
An EA check-in is the export and the checkin command itselft (which is likely issued by calling svn ci <file> directly). So the total time should be that of both commands added. Have you measured the time for the svn ci?

q.
« Last Edit: March 07, 2013, 12:18:37 am by qwerty »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Why does adding packages to version take so lo
« Reply #2 on: March 06, 2013, 08:14:21 pm »
What a timely post. I have experience exactly the same thing, I had set to server timout to 60 secs to get an uninterrupted add to version control.

It appears that the lengthy operation only happens on the [highlight]initial configure package[/highlight] or [highlight]add branch to version control [/highlight]operations.

Once added, subsequent check-out, and check-in operate as normal.

Have tried, with and without Torstoise SVN to create the working folder, have tried Collabnet SVN and VisualCVN and all combinations exhibit this initial very long configuration.

I would be very interested to hear other users views

Cheers
Models are great!
Correct models are even greater!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Why does adding packages to version take so lo
« Reply #3 on: March 06, 2013, 08:26:36 pm »
We had a similar issue when configuring TFS version control.
For some reason it had to get a list of all items on the TFS server before being able to continue. In our case that took longer then we ever let it try (couple of hours).

The solution was to create another workspace in TFS with only the EA stuff in it.
The the configuration only took one or two seconds.

Maybe there's a similar issue with SVN?

Geert

EdK

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Why does adding packages to version take so lo
« Reply #4 on: March 06, 2013, 11:50:54 pm »
Thank you all for taking the time to respond.

Just knowing there are others who have seen this strange behavior makes feel better. I will continue to investigate and promise to post if I learn anything interesting.

Ed K.
R/S Ed K
(EA Ultimate Edition Version 12.1.1228)