It's all about the answers!

Ask a question

rtc vs. rational rose problem


Attila Mate (7184) | asked Mar 23 '10, 5:01 a.m.
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

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Mar 23 '10, 7:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Attila Mate (7184) | answered Mar 23 '10, 1:27 p.m.
Thanks, I've created defect 109757.

regards,
Attila

permanent link
Attila Mate (7184) | answered Jul 21 '10, 8:30 a.m.
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.

Your answer


Register or 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.