Author Topic: .EAB import downloads entire TFS database  (Read 2831 times)

Dennis L. Hughes

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
.EAB import downloads entire TFS database
« on: May 24, 2008, 04:58:57 am »
[size=12]I'm using Enterprise Architect 7.1, MGD Visual Studio Integration (latest), Visual Studio Developer 2008, and Team Foundation Server (TFS) for source control.  My issue is as follows.

I've exported a couple of branches to .EAB files in source control as described in "Export Version Controlled Model Branch".

When I try to create a new project and import a branch (.EAB) as described in "Import Version Controlled Model Branch" the MGD Link component (presumably) proceeds to pull down the entire contents of my source control server.  This happens regardless of which of the two methods I follow.

Any suggestions?

Thanks,
Den[/size]

[size=10]Dennis L. Hughes
Architect for Trading Technology
Charles Schwab & Co., Inc.[/size]

HowardB

  • EA Administrator
  • EA User
  • *****
  • Posts: 55
  • Karma: +0/-0
  • I love YaBBies!
    • View Profile
Re: .EAB import downloads entire TFS database
« Reply #1 on: May 26, 2008, 12:31:15 pm »
Hello Dennis,

When executing the "Import Model Branch" function, EA makes a call to the version control system to update all files in the local working copy directory, immediately before it imports the root package of the model branch.

So, yes, this will potentially download all the files that belong in the local working copy directory associated with the Version Control Configuration controlling the model branch that is being imported.

This "update" is done because without it, we found that the status of package files was being incorrectly reported by certain VC products and the subsequent recursive import of child packages within the model branch was then failing.

You do actually need to download the package files associated with the model branch, so that EA can import them from the local working copy.

If you find that there are many unrelated files being downloaded as well, you should be able to alleviate this, by creating separate source control folders and corresponding workspaces within TFS, to contain only EA package files.  (That is, you should be able to separate your program source code files from the EA package files.)

You could even separate package files specific to particular model branches and then, within EA, you can define multiple VC configurations, that make use of the separate workspaces.

I hope this helps.


Regards,
Howard Britten.