Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

rtc vs. rational rose problem

Hi,

We're using Rational Rose for UML modeling and RTC for SCM and we have a serious problem: when we have a model opened in Rose, and accept a change set which contains a model file change, an error occurs:

Could not preserve history of /component/model/model-file.cat
Could not preserve history of /component/model/model-file.cat
Error encountered preserving the history of /component/model/model-file.cat
Could not preserve history of /component/model/model-file.cat
Error encountered preserving the history of /component/model/model-file.cat


After this our projects becomes out-of-sync, and needs to be reloaded (the whole component must be reloaded). It is annoying and time consuming and it can also be a huge problem if we have unresolved changes (especially model changes, since RTC doesn't always notices model file changes even if the model is opened from an RTC using an eclipse resource project), because these changes will be lost without showing up in unresolved changes first!

We used ClearCase before RTC and it had no problem updating model files which are opened is Rose (after update Rose asked about modified files and if we want to load these changes). Our current workaround is to always close Rose before accept / deliver operations, but it's easy to forget and it did lead to lost model changes several times already. Reload can also be problematic because it seems to delete the entire directory of the component in the sandbox, and in normal work conditions it fails because some other editor/file browser/command prompt is open somewhere in that directory so reload always fails the first time (if a developer forgot to close Rose, he will forget to close editors/etc on first reload).

Is there a solution for this problem?

Thanks in advance,
Attila

0 votes



3 answers

Permanent link
Hi Attila,

Please open a work item so support can find a workaround for you, and so
that the development team can get this fixed.

Cheers,
Geoff

mate.attila wrote:
Hi,

We're using Rational Rose for UML modeling and RTC for SCM and we have
a serious problem: when we have a model opened in Rose, and accept a
change set which contains a model file change, an error occurs:

Could not preserve history of /component/model/model-file.cat
Could not preserve history of /component/model/model-file.cat
Error encountered preserving the history of
/component/model/model-file.cat
Could not preserve history of /component/model/model-file.cat
Error encountered preserving the history of
/component/model/model-file.cat

After this our projects becomes out-of-sync, and needs to be reloaded
(the whole component must be reloaded). It is annoying and time
consuming and it can also be a huge problem if we have unresolved
changes (especially model changes, since RTC doesn't always notices
model file changes even if the model is opened from an RTC using an
eclipse resource project), because these changes will be lost without
showing up in unresolved changes first!

We used ClearCase before RTC and it had no problem updating model
files which are opened is Rose (after update Rose asked about
modified files and if we want to load these changes). Our current
workaround is to always close Rose before accept / deliver
operations, but it's easy to forget and it did lead to lost model
changes several times already. Reload can also be problematic because
it seems to delete the entire directory of the component in the
sandbox, and in normal work conditions it fails because some other
editor/file browser/command prompt is open somewhere in that
directory so reload always fails the first time (if a developer
forgot to close Rose, he will forget to close editors/etc on first
reload).

Is there a solution for this problem?

Thanks in advance,
Attila

0 votes


Permanent link
Thanks, I've created defect 109757.

regards,
Attila

0 votes


Permanent link
I had some spare time and I was able to solve this issue on Rose side. When using Rational Rose 7.0, locking files is enabled by default - you can change this behavior in the windows registry though: changing HKEY_CURRENT_USER\Software\Rational Software\rose\Rose\LockFiles to No will do the trick.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 23 '10, 5:01 a.m.

Question was seen: 9,269 times

Last updated: Mar 23 '10, 5:01 a.m.

Confirmation Cancel Confirm