problems with method completion
Method completion (jde-complete-menu) has worked for me like a charm in the past. As of recently, it always gives me "No completion". Which is weird, because it can complete member variable names, even if the variable is defined in the parent class... but when it comes to completing methods on that variable, I always get no completion available. Ironically, either semantic or JDE is able to show an Emacs popup with the completed method names. This popup menu comes up automatically at random times. Unfortunately I can't select from this popup menu. Is it semantic that creates this menu automatically??? How can I complete/select from it? I'm using JDE 2.3.4beta5, cedet 1.0beta3b, GNU Emacs 21.3.1 on Linux Fedora Core 2. Raul
RE: maven contribution
Nascif Abousalh-Neto writes: > That would be a nice extension to JDE. > > Would it be possible to extend the Ant Server or the Compile Server to make them > generic enough to run Maven, or other Java-based tools like PMD, CheckStyle, etc., > etc? I found that the code in AntServer.java and CompileServer.java is very > similar; the differences could be refactored to a separate file, and a generic > interface be defined. New Java-based plugins could implement this interface and > thus be added to the JDE "server" support (through the BeanShell), instead of > calling new JVMs on demand. Hi Nascif, JDEE 2.3.4 already has this capability: jde-jeval-cm is a Lisp function in `jde'. (jde-jeval-cm JAVA-EXPR &optional BUFFER-HEAD FINISH-FCN) Evaluate JAVA-EXPR and display the result in a compilation-mode buffer. The optional argument BUFFER-HEAD specifies text to appear at the head of the compilation buffer. The optional argument FINISH-FCN specifies a function to be called when the compilation is finished. This function is intended to be used to invoke Java development utilities, such as source code style checkers, that emit compiler-like error messages. Displaying the output in a compilation-mode buffer enables the user to use compilation-mode's error message navigation and hyperlinking capabilities. The following example uses this function to invoke the javac compiler on a file in the current directory: (jde-bsh-compile-mode-eval "jde.util.CompileServer.compile(\"Test.java\");" "Compile Test.java" 'jde-compile-finish-kill-buffer) Paul > > Regards, > Nascif > > > > > -Original Message- > > From: Dominik Dahlem [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 24, 2004 7:15 AM > > To: [EMAIL PROTECTED] > > Subject: maven contribution > > > > Hi all, > > > > I'm curious to know whether there are plans to add > > jde-maven.el under the hood of JDEE? There are two versions > > of jde-maven.el around [1,2] but they have not been > > contributed to the JDE CVS. > > > > > > Thanks, > > Dominik > > > > > > [1]-http://lists.gnu.org/archive/html/gnu-emacs-sources/2004-0 > > 5/msg00032.html > > [2]-http://www.mail-archive.com/[EMAIL PROTECTED]/msg06674.html > > > > > > -- > > Dominik Dahlem <[EMAIL PROTECTED]> > > --- > > Trinity College Dublin > > Department of Computer Science, > > Dublin 2, Ireland > > > > tel: (+353) 1-608 1539 > > fax: (+353) 1-677 2204 > > www: http://www.cs.tcd.ie/Dominik.Dahlem/ > > --- > > > > > > > > > >
RE: maven contribution
That would be a nice extension to JDE. Would it be possible to extend the Ant Server or the Compile Server to make them generic enough to run Maven, or other Java-based tools like PMD, CheckStyle, etc., etc? I found that the code in AntServer.java and CompileServer.java is very similar; the differences could be refactored to a separate file, and a generic interface be defined. New Java-based plugins could implement this interface and thus be added to the JDE "server" support (through the BeanShell), instead of calling new JVMs on demand. Regards, Nascif > -Original Message- > From: Dominik Dahlem [mailto:[EMAIL PROTECTED] > Sent: Friday, September 24, 2004 7:15 AM > To: [EMAIL PROTECTED] > Subject: maven contribution > > Hi all, > > I'm curious to know whether there are plans to add > jde-maven.el under the hood of JDEE? There are two versions > of jde-maven.el around [1,2] but they have not been > contributed to the JDE CVS. > > > Thanks, > Dominik > > > [1]-http://lists.gnu.org/archive/html/gnu-emacs-sources/2004-0 > 5/msg00032.html > [2]-http://www.mail-archive.com/[EMAIL PROTECTED]/msg06674.html > > > -- > Dominik Dahlem <[EMAIL PROTECTED]> > --- > Trinity College Dublin > Department of Computer Science, > Dublin 2, Ireland > > tel: (+353) 1-608 1539 > fax: (+353) 1-677 2204 > www: http://www.cs.tcd.ie/Dominik.Dahlem/ > --- > > > > >
Re: problem generating javadoc
Here is the stacktrace... Signaling: (void-variable semantic-tfe-overlay) jde-javadoc-token-access-level(("MobileContainer" type (:typemodifiers ("public") :interfaces ("Container") :members (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :type "class") (link-hook (semantic--tag-link-secondary-overlays) secondary-overlays (#) unlink-hook (semantic--tag-unlink-secondary-overlays)) #)) jde-javadoc-checker-at-level-p(("MobileContainer" type (:typemodifiers ("public") :interfaces ("Container") :members (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :type "class") (link-hook (semantic--tag-link-secondary-overlays) secondary-overlays (#) unlink-hook (semantic--tag-unlink-secondary-overlays)) #)) jde-javadoc-checker-next-token(#) #() call-interactively(jde-javadoc-checkdoc) command-execute(jde-javadoc-checkdoc t) execute-extended-command(nil) call-interactively(execute-extended-command) Thanks, Dominik Dominik Dahlem wrote: Hi all, I've installed JDEE 2.3.4beta5 with cedet-1.0beta3b for XEmacs 21.4 and I'm experiencing a problem when I type "M-x jde-javadoc-checkdoc". The error message in the minibuffer reads "Symbol's value as variable is void: semantic-tfe-overlay". Since I'm not a lisp expert I appreciate every help or pointer to the solution. If I just replace cedet/semantic with semantic-1.4.4 it works. However, jde wouldn't recompile. Thanks in advance. Dominik -- Dominik Dahlem <[EMAIL PROTECTED]> --- Trinity College Dublin Department of Computer Science, Dublin 2, Ireland tel: (+353) 1-608 1539 fax: (+353) 1-677 2204 www: http://www.cs.tcd.ie/Dominik.Dahlem/ --- signature.asc Description: OpenPGP digital signature
problem generating javadoc
Hi all, I've installed JDEE 2.3.4beta5 with cedet-1.0beta3b for XEmacs 21.4 and I'm experiencing a problem when I type "M-x jde-javadoc-checkdoc". The error message in the minibuffer reads "Symbol's value as variable is void: semantic-tfe-overlay". Since I'm not a lisp expert I appreciate every help or pointer to the solution. If I just replace cedet/semantic with semantic-1.4.4 it works. However, jde wouldn't recompile. Thanks in advance. Dominik -- Dominik Dahlem <[EMAIL PROTECTED]> --- Trinity College Dublin Department of Computer Science, Dublin 2, Ireland tel: (+353) 1-608 1539 fax: (+353) 1-677 2204 www: http://www.cs.tcd.ie/Dominik.Dahlem/ --- signature.asc Description: OpenPGP digital signature
maven contribution
Hi all, I'm curious to know whether there are plans to add jde-maven.el under the hood of JDEE? There are two versions of jde-maven.el around [1,2] but they have not been contributed to the JDE CVS. Thanks, Dominik [1]-http://lists.gnu.org/archive/html/gnu-emacs-sources/2004-05/msg00032.html [2]-http://www.mail-archive.com/[EMAIL PROTECTED]/msg06674.html -- Dominik Dahlem <[EMAIL PROTECTED]> --- Trinity College Dublin Department of Computer Science, Dublin 2, Ireland tel: (+353) 1-608 1539 fax: (+353) 1-677 2204 www: http://www.cs.tcd.ie/Dominik.Dahlem/ --- signature.asc Description: OpenPGP digital signature