Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: StephaneGuerin on November 30, 2005, 10:10:27 am

Title: Nested package under source control
Post by: StephaneGuerin on November 30, 2005, 10:10:27 am
I'm trying to work with nested package under Source control and it does not seems to behave correctly.  I'm using CVS as the provider.  Here how I have proceeded.
- I checked out a repository to a my local machine
- Setup my EAP to use this repository
- Configured child package to be under source control.  The xml file is exported and commited.
- Configure the root package to be under source control.  The xml file is exported and commited.

Everything seem to be fine there.  Then I go to another station.
- I checkout the repository.
- Setup another EAP file to use the repository
- Do a "Get package" of the previously commited root package.
Now I have in this file the root package and its childs (as expected).  However the child packages are empty!
Title: Re: Nested package under source control
Post by: simon.marshall on December 02, 2005, 09:22:33 am
you have to either Package Control | Get Latest... on the package in question, or Package Control | Get All Latest on any package.

however, you will get problems with diagrams with deeply nested packages under VC, eg, where elements or associations are missing.  checking out/undo checkout the package containing the diagram with missing elements and/or the package containing the missing element.

hopefully it will be fixed in the next release (they say).
Title: Re: Nested package under source control
Post by: StephaneGuerin on December 02, 2005, 09:59:27 am
I tried this without much success.  My package are still empty.    So the procedure I used is right.  It should work.  I'll enter a bug.

Stephane Guerin