Book a Demo

Author Topic: Getting started with Subversion  (Read 4299 times)

faryzeus

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Getting started with Subversion
« on: October 08, 2007, 04:22:28 am »
Hy all,

I've got a very simple question. I have already managed to get away so far, that I have an svn repository, and it works properly (I can commit and check in simple files). I have done   turning up the EA and it sent xml files to the repository.

So the question is: how the others of my group can reach my project files to check out and start their work on common files.

Thanks,  :)
Leslie

thomaskilian

  • Guest
Re: Getting started with Subversion
« Reply #1 on: October 08, 2007, 09:00:56 am »
Open an empty repository. Set version control as you did it. EA will import what is needed.

faryzeus

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Getting started with Subversion
« Reply #2 on: October 08, 2007, 10:09:52 pm »
Thank you Thomas for your reply, but I guess I'm confused a little bit. Soorrry for my incomprehension, but where should i open an empty repository, on the server, or on my harddisk :-/

I've made the Model rootpackage under version controll (anyway does it contain the all package?) so on the server there's a Model.xml. How can somebody else check out this "project file" if (s)he hasn't got the *.eap file. :-/
« Last Edit: October 08, 2007, 10:30:36 pm by faryzeus »

thomaskilian

  • Guest
Re: Getting started with Subversion
« Reply #3 on: October 09, 2007, 05:59:13 am »
You need to create a local repository. You can use either simple EAP files (which are MS Access databases and work for small and medium models) or you create it on your local SQL database (be it MS SQL Server Express, MySQL or whatever). For a start use the EAP files. You can create an empty one with the file menu quite easily. Check out the root package so you have the XMI somewhere on your disk. Now set your version control on the root package so it imports the root package and you are done.

fluxtah

  • EA User
  • **
  • Posts: 144
  • Karma: +0/-0
    • View Profile
Re: Getting started with Subversion
« Reply #4 on: October 09, 2007, 06:19:32 am »
This actually had me confused also, I think (s)he must create their own *.eap file, set up version control as you did and then import those packages that the other (s)he checked in.

So I guess, an *.eap file can be used as a host to version controlled packages but is not actually version controlled itself ???

thomaskilian

  • Guest
Re: Getting started with Subversion
« Reply #5 on: October 09, 2007, 07:24:10 am »
Well, it will be VC'ed once you import the XMI.

BIG BOSS
- Start with some initial model
- VC root package -> check in to SVN
- (make updates a while and Put Latest)
- Eventually set VC for sub-packages

SOME SLAVE
- Checkout XMI from SVN
- Create local EA repos
- Import Root-XMI and set according VC

Now both have to agree who can make changes to any of the sub-controlled packes that might have been created. Or if there's just the root then only one can change while the rest can only read.