例如,在 TortoiseSVN 中,我可以通过查看目录图标一角的图像来了解目录何时过期或已签出。 但是,我的 ClearCase 没有这样的功能。 在 Eclipse 内部,我可以看到我签入/签出的内容,但我并不总是在 Eclipse 内部。 看来我可以右键单击该文件,如果该文件未签出,我会看到“签出...”作为一个选项,如果该文件已签出,我会看到“签入...”作为一个选项。
我真正想要的是图像或图标,让我直观地了解我通过 Windows 资源管理器 shell 签入和签出的内容。 这可能吗?
For example, in TortoiseSVN, I can find out when a directory is out-of-date or checked out by looking at the images in the corner of the directory icon. However, I don't have that with ClearCase. Inside of Eclipse, I can see what I have checked in/out, but I'm not always inside Eclipse. It appears that I can right click on the file and I see "Check Out..." as an option if the file is not checked out and "Check In..." as an option if the file is checked out.
What I really want are images or icons to let me know visually what I have checked in and out through the Windows Explorer shell. Is this possible?
发布评论
评论(3)
目前,我所知道的任何工具/插件都没有完成此操作,除了 ClearCase Eclipse 插件(可以设置“递归”选项,如果检查了其中一个文件,则在项目的包上显示“脏”状态) =
由于 ClearCase 是逐个文件管理,因此需要 递归请求可能与 Windows 的速度不兼容资源管理器应该刷新自己。
Currently, this is not done by any tool/plugin I know of, except for ClearCase Eclipse plugin (where a "recursive" option can be set, to show a "dirty" state on packages of a project if one of the files is checked out)
Since ClearCase is managed file-by-file, that would require a recursive request which may not be compatible with the speed a Windows explorer is supposed to refresh itself.
我发现直观地指示哪些文件已签出或签入的最佳方法是设置 Windows 资源管理器以显示所有 ClearCase 文件夹的文件属性。 然后,您可以通过查看文件是否只读来确定哪些文件正在签入或签出。 当文件签入时,它们是只读的; 当它们被签出时,它们不是只读的。
The best way I found to visually indicate which files are checked out or in is to set Windows Explorer to show file attributes for all of your ClearCase folders. Then you can determine which files are checking in or out by looking to see if the files are read-only or not. When the files are checked in, they are read-only; when they are checked out they are not read-only.
我想知道是否可以用一点 Perl 来做到这一点? 不是特别有效,但它是一个开始...
有没有办法改变使用 Perl 脚本的 Windows 文件夹图标?
I wonder if it'd be possible to do it this way, with a little bit of Perl? Not particularly efficient, but it's a start...
Is there is a way to change a Windows folder icon using a Perl script?