win2k Remote JDEbug, VM DISCONNECT AUTOMATICALLY
Hi ! I try to use JDEbug on win2k and I have some problem (that don't appear on Linux) I use the following parameter to launch my remote process -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8100 org.apache.tomcat.startup.Main -Dtomcat.home=c:/Tools/jakarta-tomcat-3.3-b1 Then start the debugger, and use JDEbug -> Process -> Attach process That's the content of my buffer: ** Debugger Output for Process 8100(2) *** Attached to process on port 8100 of bayern.consileon-gmbh.de. Attached VM (socket) Java Debug Interface (Reference Implementation) version 1.3 Java Debug Wire Protocol (Reference Implementation) version 1.0 JVM Debug Interface version 1.0 JVM version 1.3.1 (Java HotSpot(TM) Client VM, interpreted mode) vm started... All threads suspended... Setting breakpoint at line 41 in HyphonyServlet.java. Running 8100. AND AFTER 10 sec THE VM DISCONNECT AUTOMATICALLY 8100 process ended. vm disconnected... any idea ? Thanks Joel ___ Do You Yahoo!? -- Vos albums photos en ligne, Yahoo! Photos : http://fr.photos.yahoo.com
ANN: JDEE-2.2.8beta5 available at ...
http://jde.sunsite.dk/ JDE 2.2.8beta5 *** * PLEASE READ * *** * * * This release requires semantic 1.4beta5 (or later), * * speedbar 0.13 (or later), and eieio-0.16. You * * can obtain all three packages at* * http://cedet.sourceforge.net* * * * Note: This release does not work with eieio-0.17beta1, but * * it does work with eieio-0.17beta2. * * * * This release also requires avltree.el, which is part of the * * elib 1.0 package. You can obtain elib at the JDE web site * * in compressed tar (http://sunsite.auc.dk/jde/elib.tar.gz) * * or zip (http://sunsite.auc.dk/jde/elib.zip) format. * * * *** * Fixes JDE->Help->JDE User Guide JDEbug->Help commands so that they work on XEmacs. Thanks to Dr. Volker Zell. * Fixes jde-ant-build so that it does not invoke last-nonmenu-event on XEmacs. * Adds JDE->Wizards->Generate Get/Set Methods (M-x jde-wiz-get-set-methods) command. This command generates get and set methods for all private fields in the outer class and inner classes in the current buffer. Thanks to Javier Lopez and Sandip Chitale. * Fixes bug that prevented completion of variables referenced in inner classes. Thanks to Javier Lopez. * Adds jde-import-collapse-imports command. Thanks to Max Rydahl Andersen. * Adds JDE->Wizards->Extend Abstract Class (jde-wiz-extend-abstract-class) command. Thanks to Javier Lopez. * Fixed jde-help-symbol so that it prompts you to enter the symbol. Also, if more than once class of the same name exists, prompts you to select the appropriate class. * Reorganized JDE menu somewhat. * Fixed the JDE's project file loader to avoid an infinite recursion on Winodws when the project file is on a virtual drive created with the DOS subst command. Thanks to Nat Goodspeed. * Fixes javadoc checker error that occurs when the checker tries to match an array name in javadoc comments and in argument lists. Thanks to David Ponce. * New font-lock setup policy. - If `jde-use-font-lock' is non-nil the JDE completely handles font lock setup. It turns on font locking in `java-mode' if needed and installs the extra level of fontification in `java-font-lock-keywords-4'. - If `jde-use-font-lock' is nil the JDE delegates syntax coloring setup to standard `java-mode'. * XEmacs compatibility fix for error that occurs when the JDE attempts to clear the completion cache after compiling a file. Thanks to Javier Lopez. * Adds the JDE->Help->Class Member... (jde-help-class-member) command. This command displays help for a specified field or method of a class. Specifically, the command pops up a menu of the members of a specified class. It then searches jde-help-docsets for javadoc for the class. If found, it points the browser to the point in the javadoc file where doc for the selected class member should be located. Note that this command does not attempt to verify whether doc for the member actually exists in the file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ANN: JDEE-2.2.8beta5 available at ...
This fix also works for mapped networked drives on Windows. Hooray! Paul Kinnucan wrote: > http://jde.sunsite.dk/ > > JDE 2.2.8beta5 > > ... > > * Fixed the JDE's project file loader to avoid an infinite recursion > on Winodws when the project file is on a virtual drive created with > the DOS subst command. > > Thanks to Nat Goodspeed. Thanks Nat and Paul! Benji -- Benjamin Shults Office: 310-B Stillwell Department of Math and CS mailto:[EMAIL PROTECTED] Western Carolina University Voice: 828 227 3828 Cullowhee, NC 28723 FAX:828 227 7240 http://www.cs.wcu.edu/~shults/
Re: ANN: JDEE-2.2.8beta5 available at ...
Hello Paul, The latest beta5 does not work with EIEIO 0.17beta2 :-( The problem is that in jde-widget.el the jde-option-dialog defclass is missing the :documentation tag in declaration of the ok-action-args field. The attached very simple patch fixed the problem and now the beta5 works well with the latest EIEIO beta :-) Sincerely, David __ Faites un vu et puis Voila ! www.voila.fr Pendant tout l'été, gagnez une Ford Ka sur Voila Gratter ! http://cybergrattage.voila.fr/voila jde-widgets.el.diff
[PATCH] jde-help-show-class-member-doc doesn't work on Xemacs
> "Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes: Paul> http://jde.sunsite.dk/ Paul> JDE 2.2.8beta5 Hi Paul This fixes jde-help-show-class-member-doc because temporary-file-directory is not defined in Xemacs. -- cut here - diff -c /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el~ /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el *** /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el~ Wed Aug 8 18:52:46 2001 --- /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.elWed Aug 8 18:52:46 2001 *** *** 251,257 (defun jde-help-show-class-member-doc (docfile) ! (let* ((metafile (expand-file-name "jde_meta.html" temporary-file-directory)) (buff (find-file-noselect metafile)) (standard-output buff)) (if buff --- 251,260 (defun jde-help-show-class-member-doc (docfile) ! (let* ((temp-directory ! (or (if (fboundp 'temp-directory) (temp-directory)) ! (if (boundp 'temporary-file-directory) temporary-file-directory))) ! (metafile (expand-file-name "jde_meta.html" temp-directory)) (buff (find-file-noselect metafile)) (standard-output buff)) (if buff -- cut here - But a problem remains. At least on my system. I'm using Windows NT with Netscape. Netscape does not seem to accept file URL's of the form you are writing to the temporary html file. For example: In my case file:///java/api/java/lang/Object.html#toString() must be set to file:///D|/java/api/java/lang/Object.html#toString() ^^ to be seen inside Netscape. Notice the drive letter D: in the file URL. This is where I have my api docu. Should we create a customizable variable and concat together the file:/// + var + /path/to/api-docu ?? Ciao Volker
RE: [PATCH] jde-help-show-class-member-doc doesn't work on Xemacs
I believe IE understands the 'file:///D|/...' notation also, so perhaps that should become the standard on windows to convert 'drive:' to 'drive|' when building the URL. /Nick -Original Message- From: Dr. Volker Zell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 12:07 PM To: Paul Kinnucan Cc: jde-list Subject: [PATCH] jde-help-show-class-member-doc doesn't work on Xemacs [NJS: patch omitted] But a problem remains. At least on my system. I'm using Windows NT with Netscape. Netscape does not seem to accept file URL's of the form you are writing to the temporary html file. For example: In my case file:///java/api/java/lang/Object.html#toString() must be set to file:///D|/java/api/java/lang/Object.html#toString() ^^ to be seen inside Netscape. Notice the drive letter D: in the file URL. This is where I have my api docu. Should we create a customizable variable and concat together the file:/// + var + /path/to/api-docu ?? Ciao Volker
RE: Compilation exited abnormally with code 128
Title: RE: Compilation exited abnormally with code 128 The solution to get this to work was to add c:\cygwin\bin to my system path. I was under the impression that cygwin was optional. I don't run bash through emacs so I had no reason to add it to the system path. Is cygwin required for Win2000/Emacs 20.7.1? JDE 2.2.7.1, 2.2.8beta4 and 2.2.8beta5 all do not compile or build until I add cygwin/bin to the path. Everything else seems to work OK. -Original Message- From: Don Coleman [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 4:51 PM To: [EMAIL PROTECTED] Subject: Compilation exited abnormally with code 128 I just tried to install Emacs/JDE on my new Win2000 machine and I keep getting "Compilation exited abnormally with code 128". I though it was my jde options in my old .emacs file so I remove all of them, but I am still getting the error. If I cut and paste the compile command from the *compilation* buffer to a cmd window it works fine. Does anyone know what causes this error? Win2000 SP2 Emacs 20.7.1 JDE 2.2.8beta4 JDK 1.3.1 eieio-0.16 elib-1.0 semantic-1.4beta3 speedbar-0.14beta1
info on how to use semantic
i want to get better at moving around in a java file, and i have seen references to the functionality that semantic provides to do this. so i looked on the semantic website and didn't find any helpful docs on how it is integrated into jde. i also looked in the jde users guide, but the section on "browsing source code" is all about the speed bar. i would like to understand what semantic is being used for and how i can utilize it. i'm more than happy to rtfm if someone can just point me to the right place in the right manual. i don't use speedbar or ecb, rather i am looking for how to jump to the next method/statement/etc.. i would also like to learn how to use internal bookmarks - is this the "tags" functionality. thanks aaron
RE: info on how to use semantic
> i want to get better at moving around in a java file, and i have > seen references to the functionality that semantic provides to > do this. so i looked on the semantic website and didn't find > any helpful docs on how it is integrated into jde. i also looked > in the jde users guide, but the section on "browsing source code" > is all about the speed bar. > The package to use is senator(senator uses semantic). In the latest beta release it works out of the box. It allows you to jump to methods by using M-x senator-jump. It has other features as well. You will see the features in the Senator menu. > i would also like to learn how to use internal bookmarks - is this > the "tags" functionality. They are two things here: One is emacs bookmarks. You can mark a place in a file and give it a name. Then you can jump to it by giving the name of the bookmark. i.e. C-x r m is the command to set a bookmark at point. then you can do C-x r b type the name you gave to the bookmark. If this is what you are looking for, look in the emacs manual for more info. C-h i -> Emacs -> Bookmarks The other thing is using tags. You can use one of the scripts jtags or jtags.csh to create a tag table. Then you can type M-. to find the tag at point. It will look in the tag table for the place where that tags was defined. As one of my colleagues described it "it is the poor man links". It works quite well. Javier
Re: [PATCH] jde-help-show-class-member-doc doesn't work on Xemacs
At 07:07 PM 8/8/2001 +0200, you wrote: >> "Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes: > >Paul> http://jde.sunsite.dk/ >Paul> JDE 2.2.8beta5 > >Hi Paul > >This fixes jde-help-show-class-member-doc because temporary-file-directory is >not defined in Xemacs. > >-- cut here >- > >diff -c /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el~ >/usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el >*** /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el~ Wed Aug 8 >18:52:46 2001 >--- /usr/local/lib/xemacs/site-packages/lisp/jde/jde-help.el Wed Aug 8 >18:52:46 2001 >*** >*** 251,257 > > > (defun jde-help-show-class-member-doc (docfile) >! (let* ((metafile (expand-file-name "jde_meta.html" >temporary-file-directory)) > (buff (find-file-noselect metafile)) > (standard-output buff)) > (if buff >--- 251,260 > > > (defun jde-help-show-class-member-doc (docfile) >! (let* ((temp-directory >!(or (if (fboundp 'temp-directory) (temp-directory)) >!(if (boundp 'temporary-file-directory) temporary-file-directory))) >! (metafile (expand-file-name "jde_meta.html" temp-directory)) > (buff (find-file-noselect metafile)) > (standard-output buff)) > (if buff > >-- cut here >- > I have updated the CVS repository with this fix. >But a problem remains. At least on my system. I'm using Windows NT with >Netscape. >Netscape does not seem to accept file URL's of the form you are writing to the >temporary html file. > >For example: > >In my case > >file:///java/api/java/lang/Object.html#toString() > >must be set to > >file:///D|/java/api/java/lang/Object.html#toString() >^^ >to be seen inside Netscape. Notice the drive letter D: in the file URL. >This is where I have my api docu. > >Should we create a customizable variable and concat together the >file:/// + var + /path/to/api-docu ?? The latest version of jde-help.el now replaces the colon in the drive prefix in DOS paths with a vertical bar when forming a URL. - Paul
RE: Compilation exited abnormally with code 128
At 05:51 PM 8/8/2001 -0400, Don Coleman wrote: > > The solution to get this to work was to add c:\cygwin\bin to my system path. > I was under the impression that cygwin was optional. I don't run bash > through emacs so I had no reason to add it to the system path. > > Is cygwin required for Win2000/Emacs 20.7.1? JDE 2.2.7.1, 2.2.8beta4 and > 2.2.8beta5 all do not compile or build until I add cygwin/bin to the path. > Everything else seems to work OK. Hi Don, I'm not having any problems running compilations on Win 2000 SP2, using the native shell. I use the following functions to set up my environment for the various shells I use. You might want to try the one for cmdproxy to see if it makes a difference. - Paul (defun set-shell-bash() (interactive) (setq shell-file-name "bash") (setq explicit-shell-file-name "bash") (if (not running-xemacsp) (setenv "SHELL" explicit-shell-file-name)) (setq explicit-sh-args '("-login" "-i")) (setq shell-command-switch "-c") (setq w32-quote-process-args ?\") (setq win32-quote-process-args ?\") ; use unix looking '/' when completing directory names (add-hook 'shell-mode-hook '(lambda () ;; I don't want to see the startup message. (setq inhibit-startup-message t) (setq comint-completion-addsuffix '("/" . " "))) t)) (defun set-shell-zsh() (interactive) (setq binary-process-input t) (setq shell-file-name "cmdproxy") (setq explicit-shell-file-name "zsh") (setenv "SHELL" explicit-shell-file-name) (setq explicit-sh-args '("-login" "-i")) (setenv "TERM" "emacs")) (defun set-shell-cmdproxy() (interactive) (setq shell-file-name "cmdproxy") (setq explicit-shell-file-name "cmdproxy") (setenv "SHELL" explicit-shell-file-name) (setq w32-quote-process-args t) (setq shell-command-switch "/c")) (if (eq system-type 'windows-nt) (progn (setq w32-pass-lwindow-to-system nil) (setq w32-lwindow-modifier 'hyper) (set-shell-bash) (setq archive-zip-use-pkzip nil) (setq comint-process-echoes nil) (if (not running-xemacsp) (if (> emacs-major-version 19) (setq w32-enable-italics t w32-swap-mouse-buttons t) (setq win32-enable-italics t win32-swap-mouse-buttons t)
win2k Remote JDEbug, VM DISCONNECT AUTOMATICALLY
Hi ! I try to use JDEbug on win2k and I have some problem (that don't appear on Linux) I use the following parameter to launch my remote process -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8100 org.apache.tomcat.startup.Main -Dtomcat.home=c:/Tools/jakarta-tomcat-3.3-b1 Then start the debugger, and use JDEbug -> Process -> Attach process That's the content of my buffer: ** Debugger Output for Process 8100(2) *** Attached to process on port 8100 of bayern.consileon-gmbh.de. Attached VM (socket) Java Debug Interface (Reference Implementation) version 1.3 Java Debug Wire Protocol (Reference Implementation) version 1.0 JVM Debug Interface version 1.0 JVM version 1.3.1 (Java HotSpot(TM) Client VM, interpreted mode) vm started... All threads suspended... Setting breakpoint at line 41 in HyphonyServlet.java. Running 8100. AND AFTER 10 sec THE VM DISCONNECT AUTOMATICALLY 8100 process ended. vm disconnected... ___ Do You Yahoo!? -- Vos albums photos en ligne, Yahoo! Photos : http://fr.photos.yahoo.com
FW: imenu.el location
I could not find the 'imenu.el' in lisp directory. I am using xemacs 20.4. Do you think I can get an 'imenu.el' file and force xemacs to use it using load path in .emacs file? -Original Message- From: George Flaherty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:33 PM To: Parhami, Faraz Subject: Re: imenu.el location "Parhami, Faraz" wrote: > > Does anyone know where 'imenu.el' file is? When I start my xemacs, it can't > find it. > > Faraz Parhami It should be in your base package structure for Xemacs. In fact I don't even think you can build Xemacs without it (but I am not completely sure). I have imenu.el in my following directory. /usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/imenu.el -g
RE: The future of JDE?
Well, perhaps I spoke out of turn -- I'm just a JDE user, not a JDE developer, so I really shouldn't be speaking for the developers as to what JDE is or is not likely to include in the future. But, regarding the incremental compilation issue, I thought the issue was that using the beanshell would make compilation very fast, elimintating the need for incremental compilation. Here's what I dug up from the archive: >On 06/12/2001 12:03:23 PM Paul Kinnucan wrote: > > > This would not be difficult. I have been planning to use the Beanshell to > compile files. This would eliminate the need to run javac, i.e., start up a > vm, every time you want to compile a file. Compilation would be virtually > instantaneous since most of the javac compilation time is due simply to > starting the vm. If I'm wrong, and incremental compilation is very easy to do in JDE, then by all means do it! But it sounds like it might not be necessary. However, my larger point was that the Emacs/JDE approach is to cooperate well with external stuff. Integrating with external EJB/servlet containers is a good example. Obviously, you still need an external EJB/Servlet container on your server. It also seems obvious, at least to me, that one would want to test / develop with the same EJB/Servlet container. We've had problems at work because people are developing with the servlet container that comes bundled with JBuilder (Tomcat), while we are using WebLogic 5.1 in production. (Now, I'd be happy if we just switched to Tomcat, but that's a different issue.) I don't need my IDE to double as a servlet container! Also, I don't want to limit the discussion to strictly Java development. I develop mostly in Java at work, while still spending some time maintaing the legacy C++ system, and doing some Perl stuff. At home, I mess with Python and Elisp, in addition to Java. It's great to have one IDE that does all of that! I don't have to waste a lot of time learning a different IDE for each language. Not that VAJ is bad -- if you like it, use it. But, I am much more productive in JDE. Steve Molitor [EMAIL PROTECTED] Regarding -Original Message- From: Daniel Hegyi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 3:32 PM To: Molitor, Stephen; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: The future of JDE? I disagree with the sentence "JDE is not likely to ... support incremental compilation, for example." I use both VAJ (my company is partially a WebSphere shop) and JDE (for nostalgic reasons (the good old college years...) and small codes.) Incremental compilation is one of the coolest things I've ever seen in a Java IDE. On my fundamental feature/favorites list it's now right up there with the most essential feature, syntax coloring!! If anybody has tried incr. comp., they get addicted to it and will never want to leave home without it. Now, I've been told that incr. comp. is actually not that difficult to achieve for the JDE by piggybacking on the beanshell. And with ecb, compilation errors could also bee marked (by a small red x, lets say) in the method tree. Since we're on the topic: I realize that Emacs supports many-many modes and that it runs on Ux as well as Win. (BTW, I think that many of the big JAVA IDEs do as well, because they're written [partially] in Java.) But with IDE monsters appearing, such as VAJ, which has a whole EJB/Servlet test environment built in (no need for an EJB/Servlet server/engine - all built in) and funded with huge sums (for R&D and for the many-many hackers working full-time to improve it) what do people think of the JDEs future role? Lets not consider the $ issue (I've never paid for SW in my life. :) ) and lets only talk about Java development. With fast and cheap PCs appearing with huge hard disks and RAMs, performance is becoming less of an issue for the swing-based monsters. Will JDE be the choice for tiny, simple, non-web-enabled apps? What will happen to it as Unix becomes KDE-ed and IBM will be spending an additional 2 billion dollars on its e-commerce suite (which includes VAJ)? Regards, Daniel >From: "Molitor, Stephen" <[EMAIL PROTECTED]> >To: "'EXT-Syre, John'" <[EMAIL PROTECTED]>, 'Galen Boyer' ><[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: Discussion from comp.lang.java.softwaretools on VAJ. >Date: Wed, 8 Aug 2001 14:21:35 -0500 > >I agree with most of what John said, although I don't think VAJ is so bad. >I >actually like a lot of things about VAJ, dislike others. I only used it >for >a short while, however. I do know several excellent developers who swear >by >VAJ; I'm much happier with Emacs/JDE. > >VAJ and Emacs/JDE have radically different philosophies, however. It's >really an apples / oranges comparison. The Emacs approach is to work well >with existing tools and the external environment - the Unix philosophy. >The >VAJ approach is to provide a simple facade the hides all the complexi
Re: The future of JDE?
I remember hearing that some users were already using incremental compilation in JDE a while ago. Someone said how to do it. It should be in the archives...
Re: The future of JDE?
If I remember correctly they were referring to a switch for jikes that does this. Regards, Daniel >From: "Matthew Sherborne" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: The future of JDE? >Date: Wed, 8 Aug 2001 10:19:32 +1200 > >I remember hearing that some users were already using incremental >compilation in JDE a while ago. > >Someone said how to do it. It should be in the archives... > > _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
jde-2.2.8beta5 won't load into XEmacs
When I tried jde-2.2.8beta5, XEmacs gave Malformed property list: (:initarg :ok-action-args :type list :initform nil "Additional arguments to pass to `ok-action'."), ("Additional arguments to pass to `ok-action'.") jde-2.2.8beta4 loads fine. I have jde-2.2.8beta4 eieio-0.17beta2 semantic-1.4beta8 speedbar-0.14beta1 XEmacs 21.4 (patch 0) "Solid Vapor" SuSE Linux 7.0 with a 2.4.5 kernel -- Pete
Re: jde-2.2.8beta4, Compile gives Warning
Thank you. Yes, the jde.el that you attached fixes the problem. -- Pete > "Javier" == Javier Lopez <[EMAIL PROTECTED]> > wrote the following on Tue, 7 Aug 2001 18:47:57 -0400 Javier> This file fixes the problem. Javier Pete> When I choose Compile from the JDE menu, it compiles and then Pete> gives this in my XEmacs *Warning* window: Pete> Pete> (error/warning) Error in process sentinel: (error Wrong type of Pete> file *compilation*)
Upgrading to newer version of JDE turned off the syntax highlighting, what happened??
Hi, I have been off doing PL/SQL and Perl/C stuff for a while but now I'm back to doing some Java development. I downloaded the jde-2.2.8beta4 and now I don't have any syntax hightlighting. BTW, I have overlay-fix because of early problems of color highlighting. Here are the revelant version installed ecb-1.41/ eieio-0.16/ elib-1.0/ jde-2.2.8beta4/ semantic-1.4beta7/ Here the entries from .emacs relevant to JDEE (setq load-path (cons (expand-file-name "~/.elisp/speedbar") load-path)) (setq load-path (cons (expand-file-name "~/.elisp/semantic") load-path)) (setq load-path (cons (expand-file-name "~/.elisp/elib") load-path)) (setq load-path (cons (expand-file-name "~/.elisp/ecb") load-path)) (setq load-path (cons (expand-file-name "~/.elisp/eieio") load-path)) (setq load-path (append load-path (mapcar 'expand-file-name '("~/.elisp/" "~/.elisp/javatools" "~/.elisp/jde/lisp" ;;- ;; Java IDE ;;- ;The semantic bovinator is a highly recursive parser. The more complicated ;the Java file, the more it recurses. It can easily exceed Emacs' ;conservative limit on recursion. The following helps for larger files. (setq max-specpdl-size 1000) ;; If you want Emacs to defer loading the JDE until you open a ;; Java file, edit the following line ;;(setq defer-loading-jde nil) ;; to read: ;; (setq defer-loading-jde t) ;; (if defer-loading-jde (progn (autoload 'jde-mode "jde" "JDE mode." t) (setq auto-mode-alist (append '(("\\.java\\'" . jde-mode)) auto-mode-alist))) (require 'jmaker) (require 'jde) ;; semantic was turning off some of the colors. This seems to fix it (require 'overlay-fix) custom indentation style (defun jde-mode-mods () (c-set-offset 'topmost-intro-cont 0 t) (setq c-comment-continuation-stars "* ") (c-set-offset 'statement-block-intro 1 t) ; offset text in blocks (setq c-indent-comments-syntactically-p nil) (setq c-basic-offset 3) ; set default indentation amount ) (add-hook 'jde-mode-hook 'jde-mode-mods) (custom-set-variables '(jde-auto-parse-enable nil) '(jde-gen-k&r nil) '(jde-which-method-mode nil) '(jde-enable-abbrev-mode t)) (make-local-variable 'font-lock-defaults) (setq font-lock-defaults (cdr (assoc 'java-mode font-lock-defaults-alist))) (turn-on-font-lock) ) Any advice of what to try next would be appreciated. John Syre
Discussion from comp.lang.java.softwaretools on VAJ.
I think there are some things that VAJ does that the JDEE could do but doesn't right now. HERE IS A THREAD. From: [EMAIL PROTECTED] (Glenn G. D'mello) Newsgroups: comp.lang.java.softwaretools Date: 8 Aug 2001 10:57:25 -0500 User-Agent: Xnews/4.05.11 "George Duh-bya" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > [EMAIL PROTECTED] (Glenn G. D'mello) wrote in > news:[EMAIL PROTECTED]: > >> "Ingo Tolke" <[EMAIL PROTECTED]> wrote in >> news:9khu3i$lec$01$[EMAIL PROTECTED]: >> >>> I want to learn Java, and I am looking for the best (and free!!!) >>> IDE to do it. >> >> IBM VisualAge for Java: http://www.software.ibm.com/ad/vajava >> > > You are joking, right? VisualAge is the worst (by far) IDE for No I'm not. > beginners! You don't learn Java be using it, and can only use it if > you already know Java. Here's why I consider it the best IDE for beginners: 0. It gets the beginner thinking in terms of 'Objects' rather than 'files'. 1. No how do I create a package and how do I create classes in a package issues: Creating packages and classes/interfaces in a package is very intuitive. 2. No problems with 'classpath' issues: VisualAge allows you to group related packages in a 'project' and you only need to tweak the 'classpath' settings if your classes need to reference more than one 'user-created' project. 3. Hierarchical view of Package<->Classes. Right click on a class and select 'Open to Hierarchy' to view the inheritance (and implementation) hierarchy. 4. User defined visibility of methods: you can view all methods of the class you're working on, view all inherited methods, view inherited methods upto a named class 5. None of those 'Only one public class per java file issues'. VisualAge just gets out of the way and leaves you free to learn Java the language. And once you start using VAJ, a whole host of other benefits which file based IDEs can only dream about: 5. Method level source control VAJ tracks changes at the method level instead of at the 'file' level. This means that I can merge/diff code at the method level. This also allows multiple developers to work on the same java class (on different methods) without stepping on each others code. 6. Stack rollback in debugger VAJ gives me the ability to pause a running thread and roll back the stack to any point in the stack. 7. Incremental compilation VAJ gives me the ability to pause a thread, change code and restart the paused thread with the modified code without needing to recompile/ restart the application. Before VAJ, no other IDE let you do that (ok, Smalltalk developers can stop sniggering now). Incremental Compilation makes it possible to have a bug in a method in a class (such that that class will not compile under javac) and still have VAJ run that code because VAJ compiles the syntactically correct methods and flags all incorrect methods. Partially correct code compiles partially and runs, as long as the thread of control doesn't touch a missing (or incorrect) bit of code. 8. VCE (Visual Composition Editor) There isn't any better one for Java. VAJ's VCE is the only one I know of which can be used to build a non-visual application using Java Beans. It makes it possible to create an application without writing a single line of code. 9. Scrapbook VAJ's scrapbook acts like a java interpreter. You can type in a snippet (or a couple of pages) of java code and execute it without going to the trouble of creating a java file, compiling it and executing it. 10. Code Cross-referencing : VAJ lets me highlight an interface and shows me all classes that implement that interface. You can search/slice and dice your code in any way you can think of. 11. 'Problems page' VAJ has a 'problems page' that lists all compilation errors in the workspace. This feature is a lifesaver as you can see at a glance if your changes have impacted any other developer and what code needs to be changed. 12. 'Evaluation page' VAJ's debugger has an 'Evaluation page' where you can type in any bit of code that calls methods in any other class and have it operate on the variables (in the paused thread) currently visible in the debugger. Given all the benefits, I fail to see how file-based, 'non-java' aware (no, syntax highlighting does not make an IDE 'java aware') IDEs can be recommended. HTH, Glenn. -- Apologies. Due to the insane amounts of spam I get on every post to usenet, mail sent to the posting address is delivered to /dev/null. Post to the group or use my name at my sending domain for emailing. -- Galen Boyer It seems to me, I remember every single thing I know.