Discussion:
How to work simultaneously in UML Modeler?
nidhin karunakaran ponnon
18 years ago
Permalink
Hi,
I'm new to the NetBeans UML modeler, it seems very interesting and a
flexible tool. But there are more than one person working on the design part
of my project. So how can we work parallel with sharing the model object?
Suppose I am working on the user module and the other person is working on
the login module, we will be creating sequence diagrams, class diagrams etc
for our flows, but finally we need to integrate it and keep the design as a
single unit in the version control tool. So can anybody please share your
thoughts on this? I have tried to copy the sequence diagram created my
friend to my work area, but on loading the diagram IDE clears all the
components in the diagram. So I think there might be some other options
available, can anybody please shed some lights on this?

Regards
Nidhin
George Vasick
18 years ago
Permalink
Hi Nidhin,

We don't have a good answer for sharing the model between multiple users
at the present. Our plan is to integrate UML with the versioning
support built into netbeans. This would also require a visual merging
tool to resolve conflicts when multiple users make changes at the same
time. Without a visual merging tool, conflicts would appears in raw XML
format and would not be very helpful.

In the meantime, you could manually put your UML project under version
control from the files tab. For example, go to the files tab, select
your UML project, followed by Versioning -> CVS -> Import into
Repository. Note, do not checkin nbproject/private or the .ettm file.
These will be rebuilt when you open the project. The model itself is
contained in the .etd and .etup files. Each diagram consists of two
files, .etld and .etlp. Once you have your project checked in, your
other team members can check it out and open in the IDE.

Caveats:

1) Be careful that you only have one of your team members editing at a
time. Otherwise you could end up with merge conflicts.

2) Before commiting a change, be sure to "save all".

3) After one of the team members commits a change, everyone else will
need to CVS update followed by closing and reopening the project. The
close and reopen is necessary to force UML to reread the model.

Let me know if this works for you.


Thanks,
George
...
Loading...