Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mea Culpa

Pages: [1]
1
General Board / Re: Using EA with Subversion and multiple develope
« on: June 30, 2008, 07:09:32 pm »
Quote
I think your confusion comes from different understanding of checkout in EA and in SVN :).

Developers using SVN and CVS are used to optimistic locking with merge, while those using SourceSafe are used to pessimistic locking.

So in SVN you basicaly never checkout (besides in the beginning) and you can instantly work on any file and when you're done you only commit (EA Check-in).
In SourceSafe and EA you work in a different way .....

No, I'm perfectly aware of the different paradigms for version control vis-a-vis checkout-edit-checkin (SourceSafe, Clearcase, PVCS, SCCS etc) versus edit-merge-commit (SVN).  As I said in my previous post the confusion arose from the way the EAP file is managed (Please see my previous post).  
Regards,
M

2
General Board / Re: Using EA with Subversion and multiple develope
« on: June 26, 2008, 10:15:55 pm »
Our confusion arose from the way in which the EAP file is used.  The natural instinct is to place this under version control along with the individual XML files.  If you do this then EA doesn't work with SVN.

It seems that the model is stored within the EAP file and as users check-out/check-in controlled packages the EAP file imports/exports data to the separate XML files.  It seemed odd to me that I could load a model, checkout a package, modify it and save it and still the controlled XML file was shown as unchanged in SVN.  It's only changed when the check-in occurs.

There's nothing wrong with the current help in so far as the setup of SVN is concerned.  It seems to me that something is needed earlier in the help so as to make it absolutely clear as to how EA works with SVN because it's not obvious.

Hope this helps.
M


3
General Board / Re: Using EA with Subversion and multiple develope
« on: June 25, 2008, 05:33:06 pm »
Thanks Simon,
Yes, I read that and I found it confusing, perhaps it's me? There are a couple of points I'd make:
a. The document states it's been written prior to EA6 which was the 1st product with SVN support - this didn't instill confidence.
b. The section on SVN talks about how to setup SVN, server and client.  I know how to do this.  What wasn't clear was how the EAP file fits into the picture.  Configuring EA for use with SVN is actually easy but the documentation isn't clear IMO.
Regards,
M

4
General Board / Re: Using EA with Subversion and multiple develope
« on: June 24, 2008, 11:21:43 pm »
Well, we have EA working elegantly.  The project EAP file is stored on a network drive and is not version controlled.  The project is setup as a shared project with the "Save nested version control packages to stubs only" checked.  Elements within the model are controlled in SVN via the "Package Control | Configure" menu.

I've yet to find clear documentation on how to setup EA with SVN and so perhaps Sparx should revisit this?  Many thanks to those that helped.
M

5
General Board / Re: Using EA with Subversion and multiple develope
« on: June 23, 2008, 09:15:09 pm »
Frank,
Thanks for the help, it's very much appreciated as this is confusing.  Are you saying then that you do not commit the EAP file into SVN and that each engineer has their own local EAP file? I guess we must have something setup incorrectly because if I checkout a package (say package-X) and modify it then then only file that seems to be chnaged on the filesystem is the EAP file? I expected the package-X.xml to be modified.
M

6
General Board / Re: Using EA with Subversion and multiple develope
« on: June 23, 2008, 08:03:23 pm »
Hi Frank,
I can see how your approach works.  If there are no other suggestions on how to achieve what we want to do then we'll adopt it.  It seems odd to me though that you're using private models when EA is supposed to support shared ones.
Many thanks,
M

7
General Board / Using EA with Subversion and multiple developers
« on: June 23, 2008, 06:58:28 pm »
Hello All,
I've trawled the forum and have managed to find the odd document on how to use SVN with EA but I'm still confused.  Here's what I'm trying to do:

I'll have multiple developers working on the same model. The model is in version controlled with Subversion (SVN).  Different parts of the model are controlled as separate files and these are also version controlled in SVN.

I am used to working with SVN and other UML tools.  In order to prevent multiple users modifying the same part of the model at the same time each controlled unit has the svn:needs-lock property set on it.  To work on a particular part of the model an engineer first acquires an exclusive lock for that part of the model. He makes his changes and then commits his work to SVN releasing the lock at the same time.

Having tried this approach with EA we fall at the first hurdle.  EA complains if the '.eap' file is read only and doesn't allow the model to be opened. Obviously if every engineer needs to lock the topmost part of the model to work on it then concurrent development doesn't exist.
How are other people using SVN with EA? What am I missing?

Any help appreciated,
Regards,
M

Pages: [1]