From Electron Cloud
Line 1: | Line 1: | ||
+ | ===ClearCase helpers=== | ||
This is useful with ClearCase for hijacking files that are currently read-only: you can right-click on a file, select Actions|Make Writeable. To get this menu create ~/.kde*/share/apps/konqueror/servicemenus/makeWriteable.desktop: | This is useful with ClearCase for hijacking files that are currently read-only: you can right-click on a file, select Actions|Make Writeable. To get this menu create ~/.kde*/share/apps/konqueror/servicemenus/makeWriteable.desktop: | ||
<pre> | <pre> |
Revision as of 11:23, 13 August 2008
ClearCase helpers
This is useful with ClearCase for hijacking files that are currently read-only: you can right-click on a file, select Actions|Make Writeable. To get this menu create ~/.kde*/share/apps/konqueror/servicemenus/makeWriteable.desktop:
[Desktop Entry] ServiceTypes=text/*,application/*,image/* Actions=makeWriteable [Desktop Action makeWriteable] Name=Make Writeable Icon=add_user Exec=chmod u+w %U
This one creates a ClearCase submenu (not really tested enough though):
[Desktop Entry] ServiceTypes=text/x-c++src,text/x-c++hdr,text/plain,text/x-makefile Actions=checkin;checkout;append-log;replace-log;un-checkout X-KDE-Priority=TopLevel X-KDE-Submenu=ClearCase [Desktop Action checkin] Name=Check In Exec=/opt/rational/clearcase/bin/cleartool ci %U [Desktop Action checkout] Name=Check Out Exec=/opt/rational/clearcase/bin/cleartool co %U [Desktop Action append-log] Name=Prepend to $Log:$ Exec=/home/rutledge/bin/top-comment-to-log.pl %U [Desktop Action replace-log] Name=Replace $Log:$ Exec=/home/rutledge/bin/lshist-to-log.pl %U [Desktop Action un-checkout] Name=UnCheckOut Exec=/opt/rational/clearcase/bin/cleartool unco %U