Book a Demo

Author Topic: Importing Source Controlled Package  (Read 3074 times)

jeromedayton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Importing Source Controlled Package
« on: March 31, 2009, 07:17:22 am »
I'm having no luck importing an already source controlled package into EA.   I have created controlled packages but not at the top of the Source Control Tree (several directories down).  When I do "Import Package" I see nothing listed under it unless the package is at the top of the source controlled tree, which is very restrictive as I have models all over the place.  

There used to be in a previous version an option to import a Package from a source controlled xml (output of a source controlled package) and have it know that it is coming from a source controlled file, therefore that it should be a source controlled package.  That capability now appears to be gone.

So how am I supposed to include existing Source Code Controlled packages in a model?

Thanks

Darin P

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Importing Source Controlled Package
« Reply #1 on: April 23, 2009, 04:33:30 am »
I don't know what version of EA you have, but there is a section 9.6.6 in the EA User Guide for 7.5 (you can download if you don't already have it) that describes how to do it.

It says to right click on the package you want to be the parent package, select Package Control..., then Get Package...

You'll be prompted to select a version control configuration, and then it will show a list of packages (xml files) already under source control. Select one and it will import it into the parent you selected.

I have tried this on 7.5 (and I believe I have done it on 7.1) and it worked for me. The "parent" package I selected was not at the top.

I've only been using EA for about a month, and haven't started a real project yet, so I'm definitely not an expert.

jeromedayton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Importing Source Controlled Package
« Reply #2 on: April 23, 2009, 06:03:48 am »
Darin-

I've spoken to Sparx support about this issue and it turns out I have some "login" issues with Team Foundation Serever that are unrelated to Enterprise Architect.

And it turns out if you import a soruce control package into a project other than the one that created it, it will import it as a source controlled package.  I was trying to import the same package twice (by renaming it externally) so I could have version1 & 2 of the same model in the same project.