Eclipse not allowing to modify files without checkout in ClearCase

只愿长相守 提交于 2019-12-23 03:55:24

问题


I am using ClearCase plugin for Eclipse.

Whenever I am trying to modify any files in eclipse, it is asking me to checkout the file and then modify.

I want to modify the file offline and then checkout by hijacking and after this checkin the required changes.

How can I do this using the ClearCase plugin?


回答1:


Got the solution.

The problem was : "Connect to rational ClearCase" was selected. This was not allowing me to modify the file without checkout of the file.

When I deselect the "Connect to rational ClearCase", the view is no more connected to the ClearCase repository and is allowing me to make changes.

After making the changes when I select the "Connect to rational ClearCase" option, the decorator mark shows that file has been hijacked.

Thanks!




回答2:


You can simply make all file writable within your snapshot view.
Then Eclipse won't bother you when you want to modify one.

Once you are ready to checkin, as explain in this answer, you will have first to checkout all the files you modified, and then check them in.
(I recommend not using Eclipse for this step, but rather a recursive checkout, and a recursive checkin)



来源:https://stackoverflow.com/questions/16588865/eclipse-not-allowing-to-modify-files-without-checkout-in-clearcase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!