Book a Demo

Author Topic: Working with controled packages  (Read 3105 times)

thomaskilian

  • Guest
Working with controled packages
« on: August 21, 2007, 11:41:36 pm »
Hi all,
I now started working with controled packages more seriously. I configured the root package as controlled and also all views contained therein. Now when saving the root package to XMI it saved the complete model, not just the few views inside as simple references with a mark "controlled". Maybe I did expect EA to behave a but more logically (Rose implements my expected behaviour once I used it a long, long time ago). Now my question: is this simply EAUI (please, SPARX: fix it!) or did I overlook something?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Working with controled packages
« Reply #1 on: August 22, 2007, 01:52:53 am »
For me it works exaclty like in RR.
I have following structure
Model
 |__View
          |__SubPackage
Each of those are controlled. I'm using an scc version control provider.
Now in the Model.xml I only find a reference to the "View" package, not to the SubPackage package. So exacltly as one would expect.

I just did a quick test with "none" selected as version control provider, and indeed there is a difference. It is as if EA does not take in account the setting "Save controlled subpackages to stubs only" when using the generic package control.
I guess this qualifies as a bug?

thomaskilian

  • Guest
Re: Working with controled packages
« Reply #2 on: August 22, 2007, 03:59:13 am »
Do you mean that when turning on version control it does what I intend. If you can confirm I will try as soon as I can connect to my SVN repository and see what happens. I guess this is a bug anyhow. I will send the bug report after verification.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Working with controled packages
« Reply #3 on: August 22, 2007, 05:34:08 am »
Yes, turn on the version control, and control you packages with the svn version control and you should be ok.

thomaskilian

  • Guest
Re: Working with controled packages
« Reply #4 on: August 23, 2007, 10:57:00 am »
I now had connection to my subversion repos. And yes, it works like you described. Also it doesn't seem to be a bug as the "save stubs only" is only available with version control. There's probably a reason with that. And if not, I don't care this time...

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Working with controled packages
« Reply #5 on: August 23, 2007, 08:47:16 pm »
Hmm it looks to me like the option "save to stubs" is in the model settings of the version control configuration. thus it would seem logical that it works even without a specific version control configuration.
Anyway if it ain't a bug then it is a crucial missing feature. I always considered the controlled packages without a version control provider as the fallback mehtod when the integration with a provider would fail. (I'm still testing the integration with our version control system - PVCS Dimensions). Without the option to "save to stubs" this package control is completely useless to do any (manual) version control with multiple users.

thomaskilian

  • Guest
Re: Working with controled packages
« Reply #6 on: August 23, 2007, 10:20:33 pm »
Okay then. I'll report this as bug and see if the get their hands on it. Will post here what happens.