Re: Trouble installing on cygwin Xemacs

"Mike Ash" <[email protected]> Tue, 7 Aug 2007 21:05:26 -0500
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
I can't remember where but in one of the jde files it has a check for the
version, I just changed mine and it worked fine.  Anyway search your files
for that version string and replace that string with what the jde is looking
for.

On 8/7/07, Paul Copeland <[email protected]> wrote:
>
> - SOLUTION -
>
> Sorry to reply AGAIN, but I FINALLY did get JDEE working correctly with
> Xemacs 21.4.20 using this init.el -
>
> - - - - - - -  init.el  - - - - - -
> (add-to-list 'load-path "c:/java/emacs/jde-2.3.5.1/lisp")
> (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/semantic")
> (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/speedbar")
> (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/eieio")
> (load-file "c:/java/emacs/cedet-1.0pre4/common/cedet.el")
>
> (defun my-jde-mode-hook ()
>   (c-set-style "bsd")
>   (setq c-basic-offset 4))
> (add-hook 'jde-mode-hook 'my-jde-mode-hook)
> - - - - - - - - - - - - - - - - -
>
> Now I just have to figure out how to actually use the JDE features!
>
>
> On 8/7/2007 2:25 PM, Paul Copeland wrote:
> > I tried loading some of the packages from
> > http://cedet.sourceforge.net/.  Now I get this error when I open the
> > first java file -
> >
> > ERROR -- "JDEE requires a version of CEDET between 1.0beta and 1.0
> > (found none)"
> >
> > My init.el looks like this now. I used cedet-1.0pre4 because I see an
> > early mesage on this list that says pre3 worked so I figureed pre4
> > would too.
> > - - - - - - - - - - - - - - - - -
> > (add-to-list 'load-path "c:/java/emacs/jde-2.3.5.1/lisp")
> > (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/semantic")
> > (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/speedbar")
> > (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/eieio")
> > (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/common")
> > (add-to-list 'load-path "c:/java/emacs/cedet-1.0pre4/ede")
> >
> > (defun my-jde-mode-hook ()
> >  (c-set-style "bsd")
> >  (setq c-basic-offset 4))
> > (add-hook 'jde-mode-hook 'my-jde-mode-hook)
> > - - - - - - - - - - - - - - - -
> >
> >
> > On 8/6/2007 10:19 PM, Paul Copeland wrote:
> >> Turns out there was a missing dash in the file name :-) which should
> >> be like this:
> >>
> >> (add-to-list 'load-path "c:/java/emacs/jde-2.3.5.1/lisp")
> >>
> >> But now I get this error:
> >>
> >> (1) (initialization/error) An error has occurred while loading
> >> /cygdrive/c/Users/jot/.xemacs/init.el:
> >>
> >> Cannot open load file: semantic-idle
> >>
> >> On 8/6/2007 1:38 PM, Paul Copeland wrote:
> >>> I've got Xemacs 21.4.20 running on latest cygwin on Windows Vista.
> >>>
> >>> The JDE from cygwin is 1.48 according to Tools-Packages-List.
> >>>
> >>> Trying to upgrade to jde-2.3.5.1 downloaded from
> >>> http://jdee.sunsite.dk/
> >>>
> >>> The instructions at http://jdee.sunsite.dk/install.html say to go to
> >>> sourceforge for cedet but it looks like the versions of semantic and
> >>> elib are more up to date on cygwin.  Also the instructions talk
> >>> about .emacs file but what I have is an init.el file in the .xemacs
> >>> directory with these contents -
> >>>
> >>> - - - - - - - init.el  - - - - - -
> >>> (add-to-list 'load-path "c:/java/emacs/jde2.3.5.1/lisp")
> >>> (require 'jde)
> >>>
> >>> (defun my-jde-mode-hook ()
> >>>  (c-set-style "bsd")
> >>>  (setq c-basic-offset 4))
> >>> (add-hook 'jde-mode-hook 'my-jde-mode-hook)
> >>> - - - - - - - - - - - - - - - - -
> >>>
> >>> However Tools-Packages-List menu still shows jde 1.48 so I think the
> >>> install is not successful.
> >>>
> >>> Where am I going wrong?
> >>>
> >>> TIA - Paul
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
>



-- 
Mike Ash