Paul, when I was switching buffers I was finding
that jde-wiz-update-class-list was being called. I traced this to the
jde-reload-project-file method and found that it was reloading the project file
and calling jde-wiz-update-class-list even when the buffer being switched to was
in the same project. This is because the comparison below in
jde-reload-project-file was evaluating to true even thought the two variables
where pointing to the same file..
(not (string= jde-current-project
project-file-path))
jde-working-project='/work/current/atg/Java/atg/userprofiling/../../../../../prj.el'
project-file-path='/work/current/atg/Java/atg/order/../../../../../prj.el
I changed the comparison to be...
(not (string= (expand-file-name
jde-current-project)
(expand-file-name
project-file-path))) and it worked fine. I am runnging linux, gnu
emacs21 and jde 2.2.7beta1.
Thanks
-ben
|
- Re: switching buffers and jde-wiz-update-class-list Ben Menasha
- Re: switching buffers and jde-wiz-update-class-list Paul Kinnucan