Home » Modeling » MDT (Model Development Tools) » Team Models development using plugin CVS
Team Models development using plugin CVS [message #597799] |
Thu, 08 October 2009 19:08  |
Eclipse User |
|
|
|
I'm not sure if here is the right place to post it, somehow I did not find a better place to do it.
So here is my problem:
We are developing UML models through the RSM (Rational Software modeler). When there is only a person working on it, we haven't nothing to worry about, since there is no conflicts between file revisions.
When two or more people are working on the same project, the plugin eclipse provides the merge option, but it is a kinda complicated to solve the conflict issues. So we decided to avoid it through the lock file solution (Watch/Editors).
But we cant assure that the first person who is going to edit will remember to use the "Edit" option, locking the project files to the other developers until this person release it.
I would like to find out that eclipse cvs plugin could manage it for us, But Im not so hopeful about that...
My 'B' plan is create a program to run on the server every time that a new file with the model file extension '.emx' is added . It has been a long time since I have done it, so I will waste a time to remmember how to do it anyway.
Well, if someone knows any other way to solve this issue, or needs more information, please answer me :d
Thanks in advance.
Davinod
PS. Why not to create a CVS place in the forum?
So people like me wont have the chance to do it wrong.
|
|
| |
Re: Team Models development using plugin CVS [message #600468 is a reply to message #597799] |
Tue, 20 October 2009 12:24   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------090108070204010200020600
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi Davinod,
Best place for modeling questions is the eclipse.tools.emf newsgroup.
EMF Compare ( http://www.eclipse.org/modeling/emf/?project=compare )
provides facilities to compare and merge differences between models;
conflicting differences included.
We might not be that good with UML comparison, yet it can be a starting
point for you not to reimplement everything :).
Laurent Goubet
Obeo
Davi Diogo a écrit :
> I'm not sure if here is the right place to post it, somehow I did not
> find a better place to do it.
>
> So here is my problem:
>
> We are developing UML models through the RSM (Rational Software
> modeler). When there is only a person working on it, we haven't nothing
> to worry about, since there is no conflicts between file revisions.
>
> When two or more people are working on the same project, the plugin
> eclipse provides the merge option, but it is a kinda complicated to
> solve the conflict issues. So we decided to avoid it through the lock
> file solution (Watch/Editors).
>
> But we cant assure that the first person who is going to edit will
> remember to use the "Edit" option, locking the project files to the
> other developers until this person release it.
>
> I would like to find out that eclipse cvs plugin could manage it for us,
> But Im not so hopeful about that...
>
> My 'B' plan is create a program to run on the server every time that a
> new file with the model file extension '.emx' is added . It has been a
> long time since I have done it, so I will waste a time to remmember how
> to do it anyway.
>
> Well, if someone knows any other way to solve this issue, or needs more
> information, please answer me :d
>
> Thanks in advance.
>
>
> Davinod
>
>
> PS. Why not to create a CVS place in the forum?
> So people like me wont have the chance to do it wrong.
--------------090108070204010200020600
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyLyI+T2JlbzwvYT4NCmVtYWls O2ludGVybmV0
OmxhdXJlbnQuZ291YmV0QG9iZW8uZnINCnVybDpodHRwOi8vd3d3Lm9iZW8u ZnINCnZlcnNp
b246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------090108070204010200020600--
|
|
|
Re: Team Models development using plugin CVS [message #600487 is a reply to message #597799] |
Tue, 20 October 2009 12:46   |
Eclipse User |
|
|
|
Hi Davi,
I assume the "eclipse merge tool" is the EMF Compare project.
You're right UML is a complicated formalism with many inter-dependent
entities which are making conflict management difficult on an
"element"level.
For such cases, EMF Compare provides an extension point called "Diff
Extension" which allows you to wrap a set of difference to a new one which
is more meaningful for your metamodel.
In the case of UML you can imagine an "Add navigable association" delta
which wraps the "added property*2 + added Association instance".
Cédric
Davi Diogo wrote:
> I'm not sure if here is the right place to post it, somehow I did not find
> a better place to do it.
>
> So here is my problem:
>
> We are developing UML models through the RSM (Rational Software modeler).
> When there is only a person working on it, we haven't nothing to worry
> about, since there is no conflicts between file revisions.
>
> When two or more people are working on the same project, the plugin
> eclipse provides the merge option, but it is a kinda complicated to solve
> the conflict issues. So we decided to avoid it through the lock file
> solution (Watch/Editors).
>
> But we cant assure that the first person who is going to edit will
> remember to use the "Edit" option, locking the project files to the other
> developers until this person release it.
>
> I would like to find out that eclipse cvs plugin could manage it for us,
> But Im not so hopeful about that...
>
> My 'B' plan is create a program to run on the server every time that a new
> file with the model file extension '.emx' is added . It has been a long
> time since I have done it, so I will waste a time to remmember how to do
> it anyway.
>
> Well, if someone knows any other way to solve this issue, or needs more
> information, please answer me :d
>
> Thanks in advance.
>
>
> Davinod
>
>
> PS. Why not to create a CVS place in the forum?
> So people like me wont have the chance to do it wrong.
|
|
|
Re: Team Models development using plugin CVS [message #600496 is a reply to message #600458] |
Tue, 20 October 2009 12:59   |
Eclipse User |
|
|
|
I know I should just ignore that but I'm in the mood of stepping in :D
The problem is, as you said, a major one for companies and EMF compare is
one way to tackle this problem, it has been proven to work quite well so
far, people should not waste their time on solving this issue one more time.
Cédric
> My point of view is that considering a merge as it is done by EMF with the
> merge tool project is really ugly and not usable in a professional project
> as soon as you have more than one commiter. Sorry guys to say that but
> companies are facing major problems and it is important not to waste time
> on such question if we already know the answer but nobody want to tell the
> truth !!
>
> Vlad
|
|
|
Re: Team Models development using plugin CVS [message #600504 is a reply to message #597799] |
Thu, 22 October 2009 18:06   |
Eclipse User |
|
|
|
Thanks for the replies guys.
Actually, EMF provides solution with team model development, using its merge properly in UML models. Somehow my concern is that is not easy to do it (Like Vlad said). I work with SDLC (System development life cycle) team in my company. So my duty is create roadmaps to provide the best and the easiest way to the analysts and developers do their job
EMF works fine but you have a price to pay, I mean, there are a bunch of details that you must not forget:
- When you checkout a model project, what are the warranties that this model is not being already edited by another person?
- When you are going to commit , maybe someone else has already commited first and now you have to concern about the merge. It sounds easy, but you are busy, and get pissed off because It is you who have to do it.
Ok, you can suggest to use the CVS Edit and Watches and It will manage this issues for you (with only 1 person working each time). But this have another con, you always have to use the EDIT after the project checkout. What can assure that the people won't forget it?
I gonna use my 'B' plan. Lock all .emx files on the repository, and only unlock them with the CVS EDIT option in the Eclipse. So I can assure that people won´t forget it.
Cheers
Hoping for a better solution,
Davinod
|
|
|
Re: Team Models development using plugin CVS [message #600512 is a reply to message #600504] |
Fri, 23 October 2009 06:10  |
Eclipse User |
|
|
|
Davi,
Comments below.
Davi Diogo wrote:
> Thanks for the replies guys.
>
> Actually, EMF provides solution with team model development, using its
> merge properly in UML models. Somehow my concern is that is not easy
> to do it (Like Vlad said).
No one ever said it would be trivial.
> I work with SDLC (System development life cycle) team in my company.
> So my duty is create roadmaps to provide the best and the easiest way
> to the analysts and developers do their job
>
> EMF works fine but you have a price to pay, I mean, there are a bunch
> of details that you must not forget:
>
> - When you checkout a model project, what are the warranties that this
> model is not being already edited by another person?
It's a property of the source code control system is it not?
> - When you are going to commit , maybe someone else has already
> commited first and now you have to concern about the merge.
Unless you have locking, that's most certainly a concern.
> It sounds easy, but you are busy, and get pissed off because It is you
> who have to do it.
There's nothing like a pissy analyst or developer to ruin an otherwise
perfectly good day.
>
> Ok, you can suggest to use the CVS Edit and Watches and It will manage
> this issues for you (with only 1 person working each time). But this
> have another con, you always have to use the EDIT after the project
> checkout. What can assure that the people won't forget it?
Of course not. People are stupid. If they can forget, they will forget.
>
>
> I gonna use my 'B' plan. Lock all .emx files on the repository, and
> only unlock them with the CVS EDIT option in the Eclipse. So I can
> assure that people won´t forget it.
Best to assume they're stupid. It's certainly easier to avoid conflicts
than to resolve them, but I imagine the analysts and developers might
get pissy when they can't acquire the much coveted locks on the files...
>
> Cheers
>
> Hoping for a better solution,
CDO provides much better technology, including automatic locking at the
granularity of individual objects and consistent audit histories.
>
> Davinod
|
|
|
Goto Forum:
Current Time: Mon Feb 17 00:50:08 GMT 2025
Powered by FUDForum. Page generated in 0.03866 seconds
|