"Sandy Thomson" <thomsons(a)nortel.com> writes:
Hi Adrian,
I tried out putting these lines in my init.el
(require 'vc-hooks) ;;;
Required for both vc and vc-cc
(require 'tramp-vc)
(unless (noninteractive)
(clearcase-integrate))
And I also put these lines in my .emacs:
(setq clearcase-auto-dired-mode t)
(setq clearcase-command-messages t)
(setq clearcase-diff-on-checkin t)
(setq clearcase-dired-highlight t)
(setq clearcase-use-normal-diff t)
(setq vc-auto-dired-mode nil)
(setq vc-cc-use-normal-diff t)
(setq vc-cleartool-path "/usr/atria/bin/cleartool") ;;; the path the
cleartool on our linux network
(setq vc-diff-switches "-u")
(setq vc-initial-comment t)
I still seem to get the same problem when I load a file to edit. It has
the message: "waiting for cleartool to start ..." and gets stuck in that
state. I can't even exit from xemacs. But when I kill the process in
linux I get a lisp trace (see attached file).
Hi Sandy, please keep this correspondence on xemacs-beta.
Remove any confidential information from your backtrace and such.
Others might benefit.
XEmacs developers can't afford users on an individual basis.
Please use
Help->Send Bug Report...
or
M-x report-emacs-bug
as suggested in
http://www.xemacs.org/Debug/index.html
This will tell us enough about your XEmacs installation so that we
should be able to help you.
A cleartool describe command seems to hang.
Try something close to this command at a DOS prompt:
cleartool desc -fmt "%m%f%Rf"%Sn%PSn%On%u%Nd%[slink_text]p\n%c"
/asc/your_file.v
clearcase-fprop-read-properties
seems to hang.
I'm wondering if clearcase version control conflicts with the other
version control (PLC VCS) that is automatically loaded into our tool? Is
I use both pcl-cvs and clearcase on a couple windows machines, with no
trouble.
there a way of unloading "vc" before loading clearcase in
my init.el?
To unload the 'vc feature, use
(unload-feature 'vc t)
but it's hardly the right thing to do.
Good Luck,
Adrian
Thanks,
Sandy
-----Original Message-----
From: Adrian Aichner [mailto:adrian@xemacs.org]
Sent: Saturday, September 10, 2005 5:13 PM
To: Thomson, Sandy [CAR:QN62:EXCH]
Cc: Stephen J. Turnbull; XEmacs Beta
Subject: Re: [Bug: 21.4.15] Clearcase support doesn't work on Linux?
"Sandy Thomson" <thomsons(a)nortel.com> writes:
> Yes Clearcase is installed on my Linux box. It works fine to check out
> files and then edit them with xemacs, but it would be nice to be able
> to do it within xemacs.
>
> Which one should I be doing adding to my init.el: (load-library
> "clearcase") or
> (load-library "vc-cc")
>
> Is there any thing else I need to do?
> I also tried this line (which I found in some documentation) :
> (unless (noninteractive) (require 'clearcase))
Sorry for the delay, Sandy -- am quite busy lately.
I use clearcase mode happily in native Windows XEmacs under Windows XP
SP2 (used it since Windows NT, IIRC).
I have this in my site-start.el (for the benefit of multiple users):
(require 'vc-hooks) ;;;
Required for both vc and vc-cc
(require 'tramp-vc)
(unless (noninteractive)
(clearcase-integrate))
I have something like these in the equivalent of my .emacs (I actually
use (custom-set-variables ...)):
(setq clearcase-auto-dired-mode t)
(setq clearcase-command-messages t)
(setq clearcase-diff-on-checkin t)
(setq clearcase-dired-highlight t)
(setq clearcase-use-normal-diff t)
(setq vc-auto-dired-mode nil)
(setq vc-cc-use-normal-diff t)
(setq vc-cleartool-path "c:\\Program
Files\\Rational\\ClearCase\\bin\\cleartool.exe")
(setq vc-diff-switches "-u")
(setq vc-initial-comment t)
Hope this helps, feedback appreciated,
Adrian
>
> Thanks,
>
> Sandy
>
>
> -----Original Message-----
> From: Stephen J. Turnbull [mailto:stephen@xemacs.org]
> Sent: Wednesday, August 31, 2005 11:14 PM
> To: Thomson, Sandy [CAR:QN62:EXCH]
> Cc: XEmacs Beta
> Subject: Re: [Bug: 21.4.15] Clearcase support doesn't work on Linux?
>
>
>>>>>> "Sandy" == Sandy Thomson <thomsons(a)nortel.com>
writes:
>
> Sandy> I am wondering if the version control package for clearcase
> Sandy> is supposed to work on LINUX? When I try it, it seems to
> Sandy> get stuck saying: "waiting for cleartool to start...".
>
> I don't see why it wouldn't work, as long as cleartool behaves the
> same on Linux as it does on other OSes. Do you have cleartool
> installed on your Linux box?
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/