Martin Schwamberger | 2 Jan 2005 18:49
Picon

Fix for jde-run-etrace-goto

jde-run-etrace-goto doesn't work with CVS Emacs.
It uses compilation-goto-locus which now takes three arguments.
This problem has been mentioned on the list a couple of months ago.
But it hasn't been fixed so far.

Since there are many code breaking changes in Emacs 21.4,
I've defined a predicate in jde.el which is true
for all GNU Emacs versions newer than 21.3 (including "21.3.50.1" ...).
It's called jde-emacs21-4p.

The diffs below are based on the files distributed with JDEE 2.3.5.

BTW, there is a new precompiled CVS Emacs for Windows available at:

http://www.crasseux.com/emacs/

Martin

diff -u jde.el.old jde.el
--- jde.el.old	2004-12-17 05:29:36.000000000 +0100
+++ jde.el	2004-12-20 10:16:21.000000000 +0100
 <at>  <at>  -53,6 +53,11  <at>  <at> 
  (defconst jde-emacs21p (and (string-match "\\bEmacs\\b" (emacs-version))
  			    (>= emacs-major-version 21)))

+(defconst jde-emacs21-4p (and jde-emacs21p
+                              (or (> emacs-major-version 21)
+                                  (> emacs-minor-version 3)
+                                  (> (length emacs-version) 4))))
+
(Continue reading)

Nascif Abousalh-Neto | 3 Jan 2005 15:26
Picon
Favicon

Minor problem with jde-import-kill-extra-imports

It seems this command does not skip comment areas. 

I got an "Avoid unused imports such as 'xyz" from a PMD report and when I used
jde-import-kill-extra-imports to remove them, it didn't remove anything. Turns out that the imported
class name was in one of my comments. I removed it and jde-import-kill-extra-imports worked fine.

Thanks,
  Nascif

Lenz, Georg | 4 Jan 2005 13:40
Picon
Favicon

Problems with some jde-javadoc-gen customizations

Hei

under NTEmacs (with cygwin) I experiencing various problems with jde-gen-javadoc settings:

;; Does not work on windows (works under Linux?!)
jde-javadoc-gen-doc-title "Some API"
jde-javadoc-gen-window-title "Some API"
jde-javadoc-gen-overview "some url"

;; Does not work at all ! e.g.  increasing the memory with -J-
jde-javadoc-gen-args (quote ( "-J-Xmx180m"))

The last one is really bad because it is almost always needed 
and renders jde-javadoc-make useless for all but the smallest projects.

The versions of NTEmacs is latest JDE latest but one.
Any fixes available

Regards
Georg Lenz

Nascif Abousalh-Neto | 5 Jan 2005 17:55
Picon
Favicon

Problem loading JDE in Emacs CVS

Hi,

I am trying out the Emacs build from CVS  for Windows (http://www.crasseux.com/emacs/, posted by Martin
Schwamberger, thanks!) and I am having some problems.
When I try to load JDE, I get the following error:

Debugger entered--Lisp error: (void-variable java-font-lock-keywords-3)
  jde-java-font-lock-keywords(nil)
  jde-java-font-lock-setup-keywords()
  require(jde-java-font-lock)
  eval-buffer(#<buffer  *load*≤2>> nil "jde" nil t)
  ;;; Reading at buffer position 2829
  load-with-code-conversion("c:/home/emacs/jde-2.3.5/lisp/jde.el" "jde" nil t)
  require(jde)
  eval-buffer(#<buffer  *load*≥ nil "~/.emacs" nil t)
  ;;; Reading at buffer position 15813
  load-with-code-conversion("c:/home/.emacs" "~/.emacs" t t)
  load("~/.emacs" t t)

Any ideas? I already removed all the .elc and byte-compiled again.

Regards,
  Nascif

Martin Schwamberger | 7 Jan 2005 13:47
Picon

Re: jde-build suggestion: use C-u for args

Kai Grossjohann wrote:

> I suggest that C-u C-c C-v C-b invert the meaning of the
> jde-read-{make,ant}-args flag.
> 
> I often want to issue the same build command, but sometimes a
> different one.  So I set jde-read-make-args to t, but now I have to
> press an extra key in 99% of the build invocations: C-c C-v C-b RET.
> 
> What do people think?
> 
Hi Kai,

sounds quite useful!
The diffs below provide an implementation of your suggestion.
They are based on the files shipped with JDEE 2.3.5.

Martin

diff -u jde-ant.el.old jde-ant.el
--- jde-ant.el.old	2004-12-17 05:29:38.000000000 +0100
+++ jde-ant.el	2004-12-21 17:51:56.000000000 +0100
 <at>  <at>  -377,9 +377,10  <at>  <at> 
      buildfile))

  ;;;###autoload
-(defun jde-ant-build(buildfile target &optional interactive-args)
-  "Build the current project using Ant.  If interactive, we try to 
prompt the
-  user for certain variables.."
(Continue reading)

Martin Schwamberger | 7 Jan 2005 13:58
Picon

Re: Problem loading JDE in Emacs CVS

Hi Nascif,

I'm using this emacs build together with JDEE 2.3.5.
I don't experience this kind of problem.
java-font-lock-keywords-3 is defined.
Did you recompile CEDET (and the other packages, JDEE depends on)?

Martin

Nascif Abousalh-Neto wrote:

> Hi,
> 
> I am trying out the Emacs build from CVS  for Windows (http://www.crasseux.com/emacs/, posted by Martin
Schwamberger, thanks!) and I am having some problems.
> When I try to load JDE, I get the following error:
> 
> Debugger entered--Lisp error: (void-variable java-font-lock-keywords-3)
>   jde-java-font-lock-keywords(nil)
>   jde-java-font-lock-setup-keywords()
>   require(jde-java-font-lock)
>   eval-buffer(#<buffer  *load*≤2>> nil "jde" nil t)
>   ;;; Reading at buffer position 2829
>   load-with-code-conversion("c:/home/emacs/jde-2.3.5/lisp/jde.el" "jde" nil t)
>   require(jde)
>   eval-buffer(#<buffer  *load*≥ nil "~/.emacs" nil t)
>   ;;; Reading at buffer position 15813
>   load-with-code-conversion("c:/home/.emacs" "~/.emacs" t t)
>   load("~/.emacs" t t)
> 
(Continue reading)

Ed Mooney | 7 Jan 2005 21:16
Picon

retaining *JDEE Compile Server* buffer?

What's the method for retaining the *JDEE Compile Server* after 
compilation? It seems to be insensitive to the setting of 
jde-compile-enable-kill-buffer.

Thanks,

   -- Ed

Nascif Abousalh-Neto | 7 Jan 2005 21:55
Picon
Favicon

RE: Problem loading JDE in Emacs CVS

Hi Martin,

Thanks for the feedback, I am still battling it.
Do you have the latest cc-mode in your system, or are you using the one that comes with Emacs?

Regards,
  Nascif

> -----Original Message-----
> From: Martin Schwamberger [mailto:mschw <at> web.de] 
> Sent: Friday, January 07, 2005 7:59 AM
> To: Nascif Abousalh-Neto
> Cc: jde <at> sunsite.dk
> Subject: Re: Problem loading JDE in Emacs CVS
> 
> Hi Nascif,
> 
> I'm using this emacs build together with JDEE 2.3.5.
> I don't experience this kind of problem.
> java-font-lock-keywords-3 is defined.
> Did you recompile CEDET (and the other packages, JDEE depends on)?
> 
> Martin
> 
> Nascif Abousalh-Neto wrote:
> 
> > Hi,
> > 
> > I am trying out the Emacs build from CVS  for Windows 
> (http://www.crasseux.com/emacs/, posted by Martin 
(Continue reading)

Martin Schwamberger | 8 Jan 2005 13:09
Picon

Re: Problem loading JDE in Emacs CVS

Nascif Abousalh-Neto wrote:

> Hi Martin,
> 
> Thanks for the feedback, I am still battling it.
> Do you have the latest cc-mode in your system, or are you using the one that comes with Emacs?

I'm using cc-mode coming with Emacs.
I've Cygwin installed and use the makefiles to build the CEDET and JDEE.

Martin

> 
> Regards,
>   Nascif
> 
> 
>>-----Original Message-----
>>From: Martin Schwamberger [mailto:mschw <at> web.de] 
>>Sent: Friday, January 07, 2005 7:59 AM
>>To: Nascif Abousalh-Neto
>>Cc: jde <at> sunsite.dk
>>Subject: Re: Problem loading JDE in Emacs CVS
>>
>>Hi Nascif,
>>
>>I'm using this emacs build together with JDEE 2.3.5.
>>I don't experience this kind of problem.
>>java-font-lock-keywords-3 is defined.
>>Did you recompile CEDET (and the other packages, JDEE depends on)?
(Continue reading)

Henry S. Thompson | 10 Jan 2005 00:09
Picon
Picon
Favicon

Re: JDE debugging problems

So this is an _old_ thread, I just hit the problem again, just thought
I'd get the workaround on the record if anyone hits it again as I just
did:

To fix the "Symbol's value as variable is void: old-assoc" problem
when debugging with JDE in xemacs/cygwin, edit the file jde-dbs.el,
and replace the six uses of 'assoc' as a _variable_ with some other
symbol.

Then load jde into your xemacs and do (jde-compile-jde), and the
problem will be fixed.

Or rather, that for sure fixes the problem when it occurs when trying
to clear a breakpoint, which is the way I hit it.

I observe that the string old-assoc also appears in the following elc
files:

  jde-bug.elc, jde-db.elc, jde-jdb.elc

which all also use 'assoc' as a local variable.

It may well be that these should also be edited.

ht
--

-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht <at> inf.ed.ac.uk
(Continue reading)


Gmane