Using a new profile

General discussions about teamwork

Moderator: Moderators

Using a new profile

Postby John Mikhail » Wed Oct 26, 2005 4:53 pm


I've got a model where I am using an external profile (an AndroMDA profile
that defines datatypes and stereotypes). We have this model checked into
the teamwork server. However right now I need to update the profile with
the latest version. I tried to add the profile like I did before, but I get
duplicate elements in my model now. What's worse, if I try to delete the
old elements that were associated with the first profile import, I lose all
data types that were assigned to my classes, methods, attributes, etc. So
is there a simple way to replace a profile with an updated version and have
that change propagate to the teamwork server?

Thank you,


John Mikhail
Posts Rating:

Re: Using a new profile

Postby Donatas Simkunas » Thu Oct 27, 2005 5:42 am


How does new profile differs from old one ?

One way is to open teamwork profile, lock for edit whole model, then use File - Import and import new one. This way merges projects using names, and if
new version has renamed packages you will get 2 packages: old and new one.

If elements IDS from profile is not changed, you can try to add this new profile as antoher project and then override contents of teamwork server project file
by copying and overriding file. But this is very drastic way and use this method if others fails.


Donatas Simkunas
Senior Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363, LT 49425 Kaunas
Phone: +370 37 324032 Fax: +370 37 320670

Donatas Simkunas
Posts Rating:

Return to Merging, branching, modules, team collaboration

Who is online

Users browsing this forum: No registered users and 1 guest