Book a Demo

Author Topic: Configure Version Control on Separate EAP Files  (Read 5173 times)

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Configure Version Control on Separate EAP Files
« on: June 04, 2009, 11:34:11 am »
I am attempting to setup the Concurrent Development Model espoused by Dermot (thanks Dermot) in this post:  http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1237802249/0#3

Here are my steps:

1. I have an existing EAP file which is our "Trunk". I have an existing ClearCase (CC) VOB, for which I have View #1. Trunk EAP is configured to use View #1 in Version Control Settings as "VC Configuration #1".

2. Our CC admin created a branch off of the existing VOB (their recommendation - is this right?), and I created a new view to that branch - View #2.

3. I created a new, empty EAP file for a new project, the "Branch".

4. I did a Data Transfer from Trunk EAP to Branch EAP.

5. I opened Branch EAP, and in Version Control Settings created a new Configuration to connect Branch EAP to View #2 - "VC Configuration #2".

However it seems that each Package in my transferred Model in the Branch EAP is still connected to VC Configuration #1. Do I really need to go to each Package in the Branch EAP one-by-one and manually disconnect it from VC Configuration #1?  I have hundreds of packages!  There must be a better way…

Am I doing this right?  Please help!  Thanks.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Configure Version Control on Separate EAP File
« Reply #1 on: June 04, 2009, 04:42:06 pm »
AFAIK there is no better way. EA still does not support branching, and you either have to take all packages out of source control in your branch model and put them into source control again, or you use an editor (or some self written  code) to cheat EA by substituting the version control related tags in the xmi files in your branch before adding the packages to the branch model.

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Configure Version Control on Separate EAP File
« Reply #2 on: June 05, 2009, 03:35:15 am »
Thanks Frank.  

Actually, Sparx Support has sent me a VB Script which will apparently strip the version control from the transferred model in my 'branch' EAP file, but I cannot figure out how to access the Scripter Window to run it!  I have 845 Corporate edition, which according to the Help should have the Scripter Window...

Any idea on how I access the Scripter Window?

Thanks.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Configure Version Control on Separate EAP File
« Reply #3 on: June 05, 2009, 08:14:24 am »
You should find it under View | Scripting.

If it's not there, reset your menu with Tools | Customize | Menu | Reset.

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Configure Version Control on Separate EAP File
« Reply #4 on: June 05, 2009, 08:22:19 am »
That worked, thanks again Simon.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

natvig

  • EA User
  • **
  • Posts: 65
  • Karma: +7/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Configure Version Control on Separate EAP File
« Reply #5 on: July 29, 2009, 10:38:37 pm »
I have exactly the same problem, and would also like to have the script that you refer to in this post. How can I get it?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Configure Version Control on Separate EAP File
« Reply #6 on: July 30, 2009, 08:33:29 am »
You'll have to contact Sparx Support directly.  I don't have the script in question and can't give out scripts on the forum.