Book a Demo

Author Topic: adding subpackage to Version control  (Read 4399 times)

Damir

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
adding subpackage to Version control
« on: October 13, 2010, 07:32:50 pm »
Hi guys
There are several of us working on an EA project, each has private EA model, we're sharing latest version of version controlled packages through SVN. Since person A had to work paralelly on a subpackage within a package on which person B works, we version controlled that subpackage using the same version control configuration as the superior package. We did this on the person A's machine. When person B or C made Get Latest on the superior package - the subordinate package whas shown with little red rectangle overly icon instead of classic checked-in overly icon.
What did we do wrong?
Thanks!

HowardB

  • EA Administrator
  • EA User
  • *****
  • Posts: 55
  • Karma: +0/-0
  • I love YaBBies!
    • View Profile
Re: adding subpackage to Version control
« Reply #1 on: October 14, 2010, 05:37:07 pm »
Hello Damir,

Investigation of the behaviour you have described, reveals that EA is incorrectly moving aside and then restoring the child package that exists in the model, rather than deleting and replacing that package with the content from the imported parent package XMI.

What you should get is a version controlled package stub for the child package, which then needs to be populated from version control.
("Get All Latest" would do both operations in one step.)

The work-around is to check-out the parent package, then right-click on the child (the one that has the red rectangle) and choose "Package Control | Get Package".  Select the appropriate VC configuration, then choose the XML file associated with the child package and click OK.  
The child package will be imported, bringing the VC settings with it.


We have already implemented a fix for this issue, but unfortunately we have missed the cut-off for the upcoming release of build 864.  We expect that this fix will be included in the subsequent release.

regards,
Howard.

Damir

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: adding subpackage to Version control
« Reply #2 on: October 14, 2010, 06:29:22 pm »
Thank you Howard
I'll inform the team and wait for 865 build.

crd

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: adding subpackage to Version control
« Reply #3 on: October 16, 2010, 07:27:55 am »
Thank you for posting the work around.  We are also seeing this issue.

Carol