我使用带有ClearCase的Eclipse3.5编写Java代码。
我需要重构接口中的一个方法来重命名它,从而对大约4-5个不同的类进行连锁反应的更改。问题是当我使用重构->重命名...菜单操作,eclipse只提示我签出我正在编辑的界面文件,而不是其他受影响的文件。
在Preferences->Team->ClearCase Remote Client->Workspace中,我的设置如下:
When edited by an internal, interactive editor: Prompt to checkout
When edited by an internal, non-interactive editor: Automatically checkout
When saved by an internal editor: Automatically checkout有没有人知道什么设置可以让eclipse查找并自动提示签出所有受影响的文件进行更改?
发布于 2011-08-26 19:28:54
这取决于您使用的CCRC/ClearCase的版本。
first ones (2003) has many issues和最近的版本(7.1.2.x)应该能更好地处理这一问题。
请注意both the ClearCase plugin for Eclipse and CCRC support refactoring。
但是不要忘记,仍然存在重构不能完全完成的情况,特别是在以下情况下:
https://stackoverflow.com/questions/7203108
复制相似问题